 |
Encode URL in JavaScript? - Stack Overflow
You have three options: escape() will not encode: @*/+ encodeURI() will not encode: ~!@#$&*()=:/,;?+' encodeURIComponent() will not encode: ~!*()' But in your case, if you want to pass a URL into a GET parameter of other page, you should use escape or enc
stackoverflow.com |
 |