Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for encodeURI().
Developer library 6
The page-type front matter key
lid array length](/docs/Web/JavaScript/Reference/Errors/Invalid_array_length). - `javascript-function`: a built-in function that isn't an object method, like [`encodeURI()`](/docs/Web/JavaScript/Reference/Global_Objects/encodeURI). - `javascript-global-property`: a global property like [`NaN`](/docs/Web/JavaScript/Reference/Global_Objects/NaN). - `javascript-instance-accessor-property`: an accessor property on an obj
Codecs in common media types
e properties of the codec use special characters which must be percent-encoded per MIME Parameter Value and Encoded Word Extensions. You can use the JavaScript encodeURI() function to encode the parameter list; similarly, you can use decodeURI() to decode a previously encoded parameter list. > [!NOTE] > When the `codecs` parameter is used, the specified list of codecs must include every codec used for the contents o
JavaScript reference
lThis - Infinity - NaN - undefined ### Function properties - eval() - isFinite() - isNaN() - parseFloat() - parseInt() - decodeURI() - decodeURIComponent() - encodeURI() - encodeURIComponent() - escape() - unescape() ### Fundamental objects - Object - Function - Boolean - Symbol ### Error objects - Error - AggregateError - EvalError - RangeError - ReferenceError - SuppressedError - SyntaxError - TypeError - U
Deprecated and obsolete features
lowed by one, two, or three octal digits) are deprecated in string and regular expression literals. - The escape() and unescape() functions are deprecated. Use encodeURI(), encodeURIComponent(), decodeURI(), or decodeURIComponent() to encode and decode escape sequences for special characters. ### Statements The [`with`](/docs/Web/JavaScript/Reference/Statements/with) statement is deprecated and unavailable in stric
Standard built-in objects
n on an object—directly return their results to the caller. - eval() - isFinite() - isNaN() - parseFloat() - parseInt() - decodeURI() - decodeURIComponent() - encodeURI() - encodeURIComponent() - escape() - unescape() ### Fundamental objects These objects represent fundamental language constructs. - Object - Function - Boolean - Symbol ### Error objects Error objects are a special type of fundamental object.
decodeURIComponent()
The **`decodeURIComponent()`** function decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent() or by a similar routine. JavaScript Demo: decodeURIComponent() ```js interactive-example function containsEncodedComponents(x) { // ie ?,=,&,/ etc return decodeURI(x) !== decodeURIComponent(x); } console.log(containsEncodedComponents("%3Fx%3Dtest")); // ?x=test // Expected ou