Javascript String filterHtml()

Description

Javascript String filterHtml()


String.prototype.filterHtml = function(){
    return this.replace(/</g,"").replace(/>/g,"").replace(/'/g,'"')
};



PreviousNext

Related