»
AnglaisFran�aisVietnamien

Imprimer - Code Master - JavaScriptBank.com

Version compl�te: jsB@nk » Form » Code Master
URL: https://www.javascriptbank.com/code-master-index.html

Code Master © JavaScriptBank.comCet JavaScript est utile pour des exemples de code sur vos pages Web.

Version compl�te: jsB@nk » Form » Code Master
URL: https://www.javascriptbank.com/code-master-index.html



JavaScript
<SCRIPT type=text/javascript>function convert() {var data = document.forms[0].elements[0].value;var out = data.replace(/</gi,"&amp;lt;").replace(/>/gi,"&amp;gt;");document.getElementById("output").innerHTML = out;}</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM onsubmit="return false"><TEXTAREA rows=6 cols=30></TEXTAREA><BR><BUTTON onclick=convert()>Go!</BUTTON><P><B>Output:</B> <DIV id=output></DIV></FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->