-
Hello fellas,
anyides on how to convert special characters like (#, &, ', ", etc.) within the string so that i can pass it as a querystring?
i know that i could look through the string and replace the special characterswith hexidecimal equivalents like # would be %26 and so...
but i'm just askin if there is any other way to do it?
thanks,
-
nevermind i fpund it
in case somebody wants to know the function you should use to convert all special characters in javascript is:
Code:
escape(yourString);
thanks anyway