Bug Tracker

Changes between Initial Version and Version 1 of Ticket #7624, comment 2


Ignore:
Timestamp:
Nov 24, 2010, 1:19:07 PM (11 years ago)
Author:
jitter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7624, comment 2

    initial v1  
    33> 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
    44
    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.
     5Maybe 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.
    66
    77> '''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