Based on http://api.jquery.com/ajaxComplete/
.ajaxComplete( handler(event, XMLHttpRequest, ajaxOptions) )
.ajaxStart( handler(event) )
To my knowledge and experiements, the XMLHttpRequest and ajaxOptions parameters for the handler of .ajaxStart or .ajaxStop are null.
I would like to retrieve the ajaxOptions information inside the functions of .ajaxStart and .ajaxStop. Is that possible?
What problems will I have if I hook up with .ajaxSend + .ajaxComplete rather than .ajaxStart + .ajaxComplete. The major reason I like to do so is that .ajaxSend can access all three parameters.
See Question&Answers more detail:os