XHR
August 7, 2008 - 10:21pm — Flesler
The argument settings is the settings object used by jQuery.ajax.
This plugin requires jQuery +1.3. that includes 1.3 beta releases (already out)
This tiny plugin provides a registry for different xhr implementations to co-exist.
If you want to provide a new implementation, you need to do this:
jQuery.xhr.register( 'my_xhr', function( settings ){
return new MyXhrImplementation( settings );
});The argument settings is the settings object used by jQuery.ajax.
To use it, you do:
jQuery.ajax({
url:'...',
transport:'my_xhr',
// ...
});The built-in implementation is used by default (unless it's overriden with jQuery.ajaxSetup) and it's called 'xhr'.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 1.0.0 | 2008-Aug-07 | 31.48 KB | Recommended for 1.2.x | ||
