Thread: Resolved listener not working
View Single Post
Old 09-17-2012, 05:45 PM   PM User | #10
DaveyErwin
Regular Coder

 
Join Date: Aug 2010
Posts: 810
Thanks: 12
Thanked 168 Times in 166 Posts
DaveyErwin is on a distinguished road
Code:
 
function getAjax() {
    var ajax = false;
    if (window.XMLHttpRequest) { // Mozilla, Safari, ...
        ajax = new XMLHttpRequest();
    } else if (window.ActiveXObject) { // IE 6
        try {
IE7 has the window.XMLHttpRequest
DaveyErwin is offline   Reply With Quote