The Mullet: Business up front, party in the rear
Kyle has take the XHR API that we all know and…. wrap…. and married it with a JSON-P transport to make jXHR.
He tells us more:
The goal was to provide a simpler interface for making cross-domain Ajax calls with JSON-P, but in nearly the same way you make same-domain calls, by using the standard XHR API. Also, I wanted the solution to be framework independent for those who don’t or can’t use jQuery, Dojo, etc
Frameworks such as Dojo allow you to choose an transport independent of their API (e.g. iframe transport versus XHR).