Jeevan25 Posted December 26, 2006 Share Posted December 26, 2006 this is a javascript code: <script language="JavaScript" type="text/javascript">var i,y,x="ab";y='';for(i=0;i<x.length;i+=2){y=y + unescape('%'+x.substr(i,2));}document.write(y);</script> i believe that would output «.now when i browse the source code via a browser, i don't see the string but rather the hexadecimal code. i want to see the actual converted string that is stored in variable y. how do i do this? i dont know anything about javascript. pls help and thanks. ps: a challange from friend and wouldn't tell me the answer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now