out.println(..) RSS

Archive

Mar
19th
Wed
permalink

encodeURIComponent

To prevent special chars like ‘&’, ‘, =, ? etc to disrupt your URL in HTML, use encodeURIComponent(uricomponent) http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp