In jquery, you can use the following functions to encode and decode url :-
encodeURIComponent(url) and decodeURIComponent(url)
You have to pass the complete url with parameterized value in the function and in return it will encode/decode you url for you !
Thanks and Regards
Found interesting? Add this to: