Skip to content

XMLHttpRequest.js - Standard-compliant cross-browser XMLHttpRequest object implementation

License

Notifications You must be signed in to change notification settings

hnemati/xmlhttprequest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scope of implementation

  1. Deliver unobtrusive standard-compliant cross-browser implementation of the XMLHttpRequest 1.0
  2. Fix browsers quirks observed in their native XMLHttpRequest object implementations
  3. Enable transparent sniffing of XMLHttpRequest object activity

How To Use

<head>
    <!-- ... -->
    <script type="text/javascript" src="XMLHttpRequest.js"></script>
    <!-- ... -->
</head>

XMLHttpRequest 2 features

The library does not and will not add support for any features found in XMLHttpRequest 2 since it is not possible to provide complete fallback implementation in older Internet Explorer browser for which this library was primarily developed. If you use this library, I recommend starting adding conditional HTML comments to limit exposure of the library only to browsers where it is really needed.

<head>
    <!--[if lte IE 9]>
    <script type="text/javascript" src="XMLHttpRequest.js"></script>
    <![endif]-->
</head>

Links to online resources

  1. XMLHttpRequest object implementation explained
  2. XMLHttpRequest 1.0 specification

About

XMLHttpRequest.js - Standard-compliant cross-browser XMLHttpRequest object implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%