Export (0) Print
Expand All

decodeURI Function (JavaScript)

Returns the unencoded version of an encoded Uniform Resource Identifier (URI).

decodeURI(URIstring)

The required URIstring argument is a value representing an encoded URI.

Use the decodeURI function instead of the obsolete unescape function.

The decodeURI function returns a string value.

If the URIString is not valid, a URIError occurs.

Applies To: Global Object (JavaScript)

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards. See Version Information.

Community Additions

Show:
© 2014 Microsoft