JavaScript Global method: encodeURI()
[this page | pdf | back links]
The JavaScript
Global
encodeURI() method encodes a
string representing a URI by
replacing certain characters by one, two, three or (rarely) four escape
sequences representing the UTF-8 encoding of the character.
It
has the following syntax with the following parameters:
encodeURI(URI)
|
Parameter
|
Required / Optional
|
Description
|
|
URI
|
Required
|
String representing URI
to be encoded
|
More detail on URI
encoding is given here.
NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)