Pankaj
Pankaj

Reputation: 4505

Remove %20 from URL using jquery

When i am trying to get query string value from URL using JQuery, It replace space to %20 for each 1 space.If there are 3space then my query string value contain %20 3times.

i want to replace these %20 back with space using Jquery, so that i can use these query string value. How can i do this.

Upvotes: 3

Views: 8035

Answers (1)

Ben James
Ben James

Reputation: 125147

JavaScript has encodeURI() and decodeURI() functions.

Upvotes: 11

Related Questions