Changes between Initial Version and Version 1 of Ticket #7624, comment 2
- Timestamp:
- Nov 24, 2010, 1:19:07 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7624, comment 2
initial v1 3 3 > The beforeSend, error, dataFilter, success and complete options all take callback functions that are invoked at the appropriate times. The '''this''' object for '''all of them''' will be the object in the context property passed to $.ajax in the settings 4 4 5 Maybe you intended on using the [http://api.jquery.com/jQuery.ajax/ `context`option] so that this refers to a DOM element not to a plain js object.5 Maybe you intended on using the [http://api.jquery.com/jQuery.ajax/ context option] so that this refers to a DOM element not to a plain js object. 6 6 7 7 > '''contextObject''': This object will be made the context of all Ajax-related callbacks. For example specifying a DOM element as the context will make that the context for the complete callback of a request