#854 closed bug (fixed)
$.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); });
Change History (1)
comment:1 Changed 16 years ago by
Milestone: | → 1.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | → 1.1 |
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev 1149.