December 2013
Intermediate to advanced
384 pages
9h 54m
English
var xmlhttp; if (window.XMLHttpRequest){ //newer Browsers xmlhttp=new XMLHttpRequest(); } else {// Older IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }
Newer browsers provide the XMLHttpRequest object directly as window.XMLHtpRequest. Older IE browsers do not provide an XMLHttpRequest object directly. Instead, they use an ActiveXObject("Microsoft.XHMLHTTP") object. If you want your AJAX code to support the older browsers, you need to add an alternative way of getting the access to an XMLHttpRequest by building the IE version if window.XMLHttpRequest is not available.
Read now
Unlock full access