This function is the complement of the encodeURI() function that we describe elsewhere.
A string that might have been encoded with the encodeURI() function either locally or remotely, can be converted back to a normal URI string with this function.
As far as ECMAScript is concerned, this supersedes the unescape() function, which is flagged as deprecated functionality in the JScript 5.5 documentation.
Note that the hash character (#) is not decoded.
Prev | Home | Next |
Declared function | Up | decodeURIComponent() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |