encodeURI Method (JScript 5.6)
Encodes a text string as a valid Uniform Resource Identifier (URI)
encodeURI(URIString)
Remarks
The required URIString argument is a value representing an encoded URI.
The encodeURI method returns an encoded URI. If you pass the result to decodeURI, the original string is returned. The encodeURI method does not encode the following characters: ":", "/", ";", and "?". Use encodeURIComponent to encode these characters.
Applies To: Global Object (JScript 5.6)
Requirements
See Also
Reference
decodeURI Method (JScript 5.6)
decodeURIComponent Method (JScript 5.6)