Hi all, I desperately need some help with some JavaScripting, what I'm trying to do is: Escape all special characters out of tab separated data that is stored in a text file. Any suggestions asap would be most appreciated! ta
this may help: <script language="JavaScript"> <!-- for(var count=32; count<=254; count++) { document.write("&#"); document.write(count + "; = "); document.write("&#" + count + ";"); document.write("<br>"); } // --> </script> and this is a tested solution <!-- Begin function processForm(form) { var nickname = form.nickname.value; var password = form.password.value; nickname = escape(nickname); password = escape(password); window.location = window.location + "?nickname=" + nickname + "&password=" + password; } // End --> </script> <BODY> <center> <form action=""> <tt><pre> Nickname: <input type=text name=nickname value="" size=10> Password: <input type=text name=password value="" size=10> <input type=button value="Submit!" onClick="javascriptrocessForm(this.form);"> </pre></tt> </form> </center>