<textarea id="runcode40008"><script language=javascript> var classobj= {tounicode:function (str) {return escape (str). replace (/%/g, "\ "). toLowerCase (); }, Ununicode:function (str) {return unescape (str.replace (/\\/g, "%")); }, Copyingtxt:function (str) {document.getElementById (str). Select (); Document.execcommand ("Copy"); }} </script> <textarea id=codes ></textarea><br><br> <input Type=button value=unicod E encryption Onclick=javascript:codes.value=classobj.tounicode (codes.value) > <input Type=button value=unicode decryption Onclick=javascript:codes.value=classobj.ununicode (Codes.value) > <input type=button value= copy above text onclick= JAVASCRIPT:CLASSOBJ.COPYINGTXT ("Codes") > <input type=button value= empty the contents onclick=javascript:codes.value= "" ></textarea>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]