InterviewSolution
Saved Bookmarks
| 1. |
What is the current version of jquery and how to include jquery in a html page? |
|
Answer» jqXHR stands for jQuery XMLHTTPREQUEST. As of jQuery 1.5, $.ajax() METHOD returns the jqXHR object, which is a superset of the XMLHTTPRequest object. jqXHR object implements the Promise INTERFACE and provides the following methods to HANDLE ajax requests. jqXHR.done(function( DATA, textStatus, jqXHR ) {}); jqXHR.fail(function( jqXHR, textStatus, errorThrown ) {}); jqXHR.always(function( data|jqXHR, textStatus, jqXHR|errorThrown ) { }); jqXHR.then(function( data, textStatus, jqXHR ) {}, function( jqXHR, textStatus, errorThrown ) {}); |
|