Results 1 to 2 of 2

Thread: Special Characters in QueryString

  1. #1

    Thread Starter
    Addicted Member ShIzO's Avatar
    Join Date
    Apr 1999
    Location
    Bartlett, IL
    Posts
    189
    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,
    www.HardFind.com -buy/sell/trade your used hardware.

  2. #2

    Thread Starter
    Addicted Member ShIzO's Avatar
    Join Date
    Apr 1999
    Location
    Bartlett, IL
    Posts
    189

    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
    www.HardFind.com -buy/sell/trade your used hardware.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width