How to Escape the Special Characters in Javascript?

By [)ia6l0 iii

Javascript provides you an Escape function that converts the special characters to equivalent hexadecimal representation.

Sample usage of the Escape function is as below:

Document.Write Escape(stringwithSpecialCharacters)

Related FAQs

After you have received the escaped special character string, you would need to use the Unescape function to get the actual contents
How to Escape the Special Characters in Javascript?  (1309 Views)