Aaron Heimlich schrieb:
> On 11/1/06, *Klaus Hartl* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     load does both get and post, kind of autodetecting depending on the
>     arguments passed in...:
> 
> 
> Why does load() do a POST? You're not submitting any data to the server, 
> only asking for some.

Aaron, not if you pass in data as a second argument:

$("#feeds").load("feeds.html", {test: true});

load was the first function in jQuery (along with $.get and $.post ) to 
make XHR requests and there had to be the ability to do posts as well. 
And its still in there...

-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to