Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to encode a string in javascript

var uri = "my test.asp?name=ståle&car=saab";
var res = encodeURI(uri); 
 
PREVIOUS NEXT
Tagged: #encode #string #javascript
ADD COMMENT
Topic
Name
7+8 =