What is the reason / main advantage of jQuery 1.5 jqXHR?

I'm curious what are the intentions of the jqXHR shell? Is there anything in this that improves development?

+4
source share
1 answer

It implements XHR-like functions for non-XHR vehicles (think JSONP, etc.). In addition, it allows you to perform Promises. The best place to read this right in the docs is: http://api.jquery.com/jQuery.ajax/#jqXHR

+7
source

Source: https://habr.com/ru/post/1338976/


All Articles