Encode the URL string prior to submitting? This is almost always the
safest method. Just decode it server side. With all encoded
characters, JQ has nothing it need add +'s to.
--
Scott
Iphone says hello.
On Sep 4, 2009, at 1:19 PM, Aaron Kreider <aa...@campusactivism.org>
wrote:
I'm using $("form").serialize(), and then doing an AJAX request.
JQuery automatically replaces spaces with the + character.
How can I keep my spaces?
(I couple replace the + character with a space on the server side, but
I want the users to be able to enter the + character when they submit
forms.)