Summary
Core Function
Decodes a Uniform Resource Identifier (URI) previously created by encodeURI or by a similar routine.
| Core Global Method | |
|---|---|
| Implemented in | JavaScript ? |
| ECMAScript Edition | ECMAScript ? |
Syntax
decodeURI(encodedURI)
Parameters
-
encodedURI - A complete, encoded Uniform Resource Identifier.
Description
Replaces each escape sequence in the encoded URI with the character that it represents.
Does not decode escape sequences that could not have been introduced by encodeURI.
Mozilla Developer Network