»
AnglaisFran�aisVietnamien

Imprimer - Strip HTML script - JavaScriptBank.com

Version compl�te: jsB@nk » Utilitaire » Compteur-Limite » Strip HTML script
URL: https://www.javascriptbank.com/strip-html-tags-script.html

Strip HTML script © JavaScriptBank.comVous pouvez utiliser cette JavaScript pour enlever les balises HTML.

Version compl�te: jsB@nk » Utilitaire » Compteur-Limite » Strip HTML 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-->