Description
Encodes a text string as a valid Uniform Resource Identifier (URI)
Syntax
encodeURI(str)
Parameters
Returns
A string represents the encoded URI.