/

HTML / CSS / JavaScript Tutorial

JavaScript Global method: decodeURIComponent()

[this page | pdf | back links]

The JavaScript Global decodeURIcomponent() method inverts the outcome of encoding a string using encodeURIComponent.

 

It has the following syntax with the following parameters:

 

decodeURIComponent(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