/

HTML / CSS / JavaScript Tutorial

JavaScript Global method: decodeURI()

[this page | pdf | back links]

The JavaScript Global decodeURI() method inverts the outcome of encoding a string using encodeURI. It is depreciated, and decodeURI or decodeURIComponent should be used instead.

 

It has the following syntax with the following parameters:

 

decodeURI(encodedURI)

 

Parameter

Required / Optional

Description

encodedURI

Required

String representing an encoded URI

 

More detail on URI encoding is given here.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile