I am trying to create a URL through Javascript function and then use that url to open a new window.
I pass the location, arguments and values so as to form a url such as
location?arg1=value1&arg2=value2.....
When I try to pass a value as 'a_123%CDE_GHI%KL', the function receives the value as 'a_123حE_GHI%KL' .
I have tried combinations of escape and escape before and after sending values to the function, but it does not work.
Can someone help me with the right way to send these values to the function and thus
a. form the correct url with escaped values
b. retrieve the original unescaped value in the new window.
Huzefa.
I pass the location, arguments and values so as to form a url such as
location?arg1=value1&arg2=value2.....
When I try to pass a value as 'a_123%CDE_GHI%KL', the function receives the value as 'a_123حE_GHI%KL' .
I have tried combinations of escape and escape before and after sending values to the function, but it does not work.
Can someone help me with the right way to send these values to the function and thus
a. form the correct url with escaped values
b. retrieve the original unescaped value in the new window.
Huzefa.
Comment