Skip to main content

Bug Tracker

Side navigation

#854 closed bug (fixed)

Opened January 20, 2007 06:52PM UTC

Closed January 22, 2007 03:49AM UTC

Last modified June 19, 2007 08:49AM UTC

$.post(url, function) broken

Reported by: joern Owned by:
Priority: major Milestone: 1.1
Component: ajax Version: 1.1
Keywords: Cc:
Blocked by: Blocking:
Description

Documentation says you can do this:

$.post("test.cgi", function(data){
	 alert("Data Loaded: " + data);
});

Doesn't work, because the callback is used as the data option to $.ajax. Either add back the argument detection or fix docs and examples:

$.post("test.cgi", {}, function(data){
	 alert("Data Loaded: " + data);
});
Attachments (0)
Change History (1)

Changed January 22, 2007 03:49AM UTC by john comment:1

milestone: → 1.1
resolution: → fixed
status: newclosed
version: → 1.1

Fixed in SVN rev 1149.