javascript Global encodeURI( )

encodeURI( )NN 6 IE 5.5(Win) ECMA 3  

encodeURI("URIString")

  

Returns a string with most URI-encodable values in the parameter converted to their escaped versions (e.g., a space character is converted to %20). This method excludes the following characters from conversion:

;  /  ?  :  @ &  =  +  $  ,  # 
 

These characters are valid symbols in URI strings as-is, and should not be converted, and the conversion might invalidate the URI.

 
Parameters
 
  • A string containing a relative or complete plain-text URI.
 
Returned Value

A string.


896,Nickname,Homepage or email,Comments here,Add comment