»
EnglishFrenchVietnamese

Print - Strip HTML Tags script - JavaScriptBank.com

Full version: jsB@nk » Utility » Counter-Limitation » Strip HTML Tags script
URL: https://www.javascriptbank.com/strip-html-tags-script.html

Strip HTML Tags script © JavaScriptBank.comYou can use this JavaScript to remove the HTML tags.

Full version: jsB@nk » Utility » Counter-Limitation » Strip HTML Tags script
URL: https://www.javascriptbank.com/strip-html-tags-script.html



JavaScript
<SCRIPT type=text/javascript>// Strip HTML Tags (form) script- By JavaScriptKit.com (http://www.javascriptkit.com)// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/// This notice must stay intact for usefunction stripHTML(){var re= /<\S[^><]*>/gfor (i=0; i<arguments.length; i++)arguments[i].value=arguments[i].value.replace(re, "")}</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM><TEXTAREA style="WIDTH: 400px; HEIGHT: 100px" name=data1></TEXTAREA><BR><INPUT onclick=stripHTML(this.form.data1) type=button value="Remove any HTML tags"> </FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->