decodeURIComponent Function (JavaScript)
Returns the unencoded version of an encoded component of a Uniform Resource Identifier (URI).
decodeURIComponent(encodedURIString)
The required encodedURIString argument is a value representing an encoded URI component.
A URIComponent is part of a complete URI.
If the encodedURIString 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.