To encode a URL in Javascript you can use the following snippet.
Also take a look at How to decode a URL in Javascript.
Sample Javascript
escape("https://codesnippets.fesslersoft.de/");
All the Code Snippets and Samples you need
To encode a URL in Javascript you can use the following snippet.
Also take a look at How to decode a URL in Javascript.
escape("https://codesnippets.fesslersoft.de/");
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to encode a URL in #Javascript http://t.co/P4qM94m0Do #js #php #html #css #programming #code #coding