Escape javascript special characters compilation error using encodeURIComponent()

[dropcap]E[/dropcap]very programming language has it’s special characters – characters that mean something special such as identifying a variable, the end of a line or a break in some data. JavaScript is no different, so it provides a number of functions that encode and decode special characters. The encodeURIComponent() function encodes a Uniform Resource Identifier (URI) component by…
Read more