20
rated 0 times
[
21]
[
1]
/ answers: 1 / hits: 22838
/ 15 Years ago, mon, february 8, 2010, 12:00:00
I am trying to pass a string via HTTP request which has one of the character as %
in the URL query string.
url = url + ?q= + str + &block= + block; // str contains the '%' character
But on the ColdFusion page where I'm sending this information is returning following error:
Element Q is undefined in URL.
How can I encode the %
sign in a URL?
More From » javascript