Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


encodeURI Method

Encodes a text string as a valid Uniform Resource Identifier (URI)

encodeURI( URIString )

The required URIString argument is a v alue representing an encoded URI.

Remarks

The encodeURI method returns an encoded URI. If you pass the result to decodeURI , the original string is returned. The encodeURI method does not encode the following characters: ":", "/", ";", and "?". Use encodeURIComponent to encode these characters.

Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.