Because a get request is more restrictive (character codes in the url, maximum request size) than post. Therefore, by default, the relatively permissive hash is converted to post format. Load is a generic solution. If you want more control of your request, you need to use a more specific function.

Blair

On 11/2/06, Aaron Heimlich <[EMAIL PROTECTED]> wrote:
On 11/1/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
A couple of points come to mind:

* Suppose the URL already has a query string and you want to add a few
more arguments... Better to let jQuery deal with the parsing and deciding
how to send it.
* Same argument but this time you want the variable names in the query to
have any character in their name. Better to let jQuery deal with the
parsing and escaping.
* I think jQuery probably also handles arrays of values, again much easier
to pass in a hash and let jQuery deal with it.

Those are all good points, but the question still remains: why can't this

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

do a GET request instead of a POST request?

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



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

Reply via email to