[jQuery] Why is the + being turned into a space?
Hello,
I'm having a weird issue with data being passed through $.ajax. If I
submit my form through normal means I do not witness the unexpected
behavior. Only when I submit the form through $.ajax does it happen.
The problem is that I'm trying to submit an email address with a +
sign in it. Firebug even says that I'm submitting
"email+email@domain.com" but PHP says that I've submitted "email
email@domain.com".
It would seem that this is PHP's fault since Firebug reports the
correct data. But that's why this is so weird. When I take $.ajax out
of the loop PHP says that I have submitted "email+email@domain.com".
Here is the jQuery code I am working with:
http://www.pastebin.ca/671971
Maybe it's really simple and I just don't see it?
Thanks,
Chris.