Tuesday, October 16, 2012

jquery ajaxComplete

The jQuery ajaxComplete event gets fired when an Ajax requests gets completed, it fires for every individual request which gets completed in the page.
 
This event can be used to handle individual Ajax requests in a page, the handler of the ajaxComplete gets fired when any of the request in the page get completed, we should use the parameters of the event to identify which particular request got completed.

The ajaxComplete event gets fired irrespective of whether the request was executed successfully or exited with an error.

The syntax for the ajaxComplete event handler is as follows.


ajaxComplete(function(objEvent, objXHR, objSettings))

objEvent        – The event Object
objXHR          - The XMLHttpRequest Object
objSettings    - Options used to make the Ajax Request


Related Post

Search Flipkart Products:
Flipkart.com

No comments: