|
-
Oct 10th, 2000, 11:04 AM
#1
Thread Starter
Addicted Member
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,
-
Oct 10th, 2000, 03:02 PM
#2
Thread Starter
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|