What's the reason/primary benefit of jQuery 1.5's jqXHR?

3.1k views Asked by At

I'm curious, what are the intentions of the jqXHR wrapper? Is there something about it that improves development?

1

There are 1 answers

4
miketaylr On BEST ANSWER

It implements XHR-like functionality for non-XHR transports (think JSONP, etc.) Also, it allows you do to Promises. The best place to read up on this is right in the docs: http://api.jquery.com/jQuery.ajax/#jqXHR