strip HTML tags using javascript - Javascript Views : 817
Tagged in : Javascript
0 0
Send mail
Here is the javascript code for striping HTML tags in a string :


String.prototype.stripHTML = function()
{
var matchTag = /<(?:.|s)*?>/g;
return this.replace(matchTag, "");
}
By Selva, On - 2009-07-21



    Login to add Comments .