Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

encodeURI Method (Windows Scripting - JScript)

Encodes a text string as a valid Uniform Resource Identifier (URI)


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 (Windows Scripting - JScript)

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.