[jQuery] Re: Special characters with ajax.

2008-09-26 Thread Richard W
further reading: http://xkr.us/articles/javascript/encode-compare/ On Sep 26, 9:40 am, Richard W <[EMAIL PROTECTED]> wrote: > You should use encodeURIComponent() > > From the jQuery core, they use this method to encode data for use with > serialize(): > encodeURIComponent(string).replace(/%20/g,

[jQuery] Re: Special characters with ajax.

2008-09-26 Thread Richard W
You should use encodeURIComponent() >From the jQuery core, they use this method to encode data for use with serialize(): encodeURIComponent(string).replace(/%20/g, "+") On Sep 25, 5:08 pm, uncleroxk <[EMAIL PROTECTED]> wrote: > i know that .serialize will encode it to a "url safe" character, b

[jQuery] Re: Special characters with ajax.

2008-09-25 Thread uncleroxk
i know that .serialize will encode it to a "url safe" character, but what if i decided not to use serialize, as serialize would not allow multiple selection for Option..