Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14499 closed bug (invalid)

ajaxComplete incomplete documentation

Reported by: Marc-André Lafortune <[email protected]…> Owned by: Marc-André Lafortune <[email protected]…>
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:


The documentation for ajaxComplete explains the argument will be called whenever an ajax request completes. At the end, there's a single caveat that states "If $.ajax() or $.ajaxSetup() is called with the global option set to false, the .ajaxComplete() method will not fire".

This caveat is incomplete. Indeed, if $.ajaxSetup is never called and $.ajax is called without a 'global' option but with a cross-browser request, then $.ajax will set the global option and the ajaxComplete argument will not be called.

Same can probably be said for the other global ajax events.

Please complete the doc and save others for wasting quite a bit of time figuring this out.


Change History (2)

comment:1 Changed 9 years ago by dmethvin

Owner: set to Marc-André Lafortune <[email protected]…>
Status: newpending

Can you recommend the specific wording change you'd like to see? You can file a pull request against the docs at https://github.com/jquery/api.jquery.com .

comment:2 Changed 9 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.