Bug Tracker

Opened 14 years ago

Closed 14 years ago

#4190 closed bug (fixed)

load method

Reported by: kof13 Owned by: brandon
Priority: major Milestone: 1.4
Component: docs Version: 1.3.1
Keywords: Cc: john
Blocked by: Blocking:


Docu says if any parameter is added - type will be "POST" otherwise it is "GET".

But if the parameter is a serialised string, it sends always "GET". Only if the parameter is json object it works properly.

Change History (6)

comment:1 Changed 14 years ago by dmethvin

It does seem like there's a difference between the docs and the actual behavior.

comment:2 Changed 14 years ago by kof13

"A GET request will be performed by default - but if you pass in any extra parameters then a POST will occur."


This call will be done as a GET, in spite of a parameter. So either is the doc not 100% correct or its a bug.

comment:3 Changed 14 years ago by brandon

Owner: set to brandon
Priority: criticalmajor

comment:4 Changed 14 years ago by brandon


comment:5 Changed 14 years ago by brandon

Component: ajaxdocs

According to the test suite the expected behavior when passing a string is to use GET. The docs need to be updated as such.

comment:6 Changed 14 years ago by brandon

Resolution: fixed
Status: newclosed

Docs have been updated: http://docs.jquery.com/Ajax/load

Note: See TracTickets for help on using tickets.