By normally, I mean when it works, Firebug displays the POST tab info
that way.

OK, it turns out the problem was with my PHP code, not jQuery. The
problem is now solved. I shall no longer doubt the powers of the
almighty jQuery.

Thanks for the help, Jörn.

On May 18, 8:12 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Crusty wrote:
> > Forgot to say that normally Firebug shows POST like this:
>
> > POST:
> > special: specialval
> > str: Im||not||actually||needing||a||new||car||any||time||soon
> > existing: cars||electric car||environment||honda||technology
>
> What is "normally"?
>
> jQuery use encodeURIComponent to encode both parameter names and values.
> As long as Firebug displays the POST tab, the data is posted. Seems the
> server expects a different format then the one jQuery procudes.
>
> You can override that by doing the conversion yourself. Pass in a string
> to use for POST as the parameter. That heavily depends on what the
> server is expecting and what is "normally".
>
> --
> Jörn Zaefferer
>
> http://bassistance.de

Reply via email to