jquery ajax provides a global event, it can be used to monitor all the ajax requests page

.ajaxComplete () when the page has completed ajax request will trigger

.ajaxError () is triggered when the page has ajax request error

.ajaxSend () when the page has triggered ajax request

.ajaxSuccess () is triggered when the page has ajax request success response

.ajaxStart () it is triggered when a page request is sent first ajax

.ajaxStop () is triggered when the page is all ajax requests are completed

Guess you like

Origin www.cnblogs.com/fmm030/p/12054273.html