Tuesday, October 16, 2012

jquery ajaxSuccess

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

The ajaxSuccess event gets fired only when the request is executed successfully, will not get fired if the request ended in an error.

The syntax for the ajaxSuccess event handler is as follows.


ajaxSuccess(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: