regex - url encoding javascript of $0 value -


i want encode value being pass $0 in jsp, how can that?

below snippet of code:

..href='"url+"$0'>$0" 

try using:

url+encodeuricomponent($0) 

Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -