Appendix A. XMLHttpRequest Reference


This Appendix assembles all methods and properties that the XMLHttpRequest object exposes. Square brackets [] denote an array; parentheses () indicate a method.

To create an XMLHttpRequest object for Internet Explorer, you must use ActiveX:

 XMLHTTP = new ActiveXObject("Microsoft.XMLHTTP"); 

With other browsers, the XMLHttpRequest object is a built-in type and can be instantiated directly, as in the following snippet:

 XMLHTTP = new XMLHttpRequest(); 

Once the XMLHttpRequest object is instantiated, the following cross-browser methods and properties are supported:.




Programming Atlas
Programming Atlas
ISBN: 0596526725
EAN: 2147483647
Year: 2006
Pages: 146

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net