views:

40

answers:

1

hello all

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.

+5  A: 

JavaScript has encodeURI() and decodeURI() functions.

Ben James
+1 for not relying on jQuery to tie your shoelaces.
Will Vousden
Thanks @@Ben... its work fine
Pankaj