hjavascript url encode code example
Example 1: urlencode javascript
var url = encodeURIComponent('url');
Example 2: type script encode url
var encodeURI = encodeURIComponent("&")
var url = encodeURIComponent('url');
var encodeURI = encodeURIComponent("&")