Stephan,

You're pulling my leg?

Firebug shows this when I enter the following in the console:

  console.log($.param("{k1='v1', k2='v2'}"));

0=%7B&1=k&2=1&3=%3D&4='&5=v&6=1&7='&8=%2C&9=%20&10=k&11=2&12=
%3D&13='&14=v&15=2&16='&17=%7D

This is called in

     params = jQuery.param(params)

in the .load method to set the data for the HTTP request.

Is this by design?  If so, now that's obstrusive. :-)

--
HLS


On Aug 18, 6:39 pm, Stephan Beal <[EMAIL PROTECTED]> wrote:
> On Aug 19, 12:31 am, Pops <[EMAIL PROTECTED]> wrote:
>
> > In the docs for .load, it has:
>
> > params (Object): (optional) A set of key/value pairs that will be sent
> > as data to the server.
>
> > That is not what I am seeing, the following
>
> >       $('#containerId').load("url","k1=v1&k2=v2");
>
> Hi, Pops!
> That should be:
>
> $(...).load('url', {k1='v1', k2:'v2'});
>
> :)

Reply via email to