5 Replies Latest reply: Jul 21, 2015 10:58 AM by Steven Grice RSS

    Unable to execute Send on XMLHttpRequest

    Abhijit Bansode
      //create xmlhttp object for relevant browser type
        //older versions of IE
        xmlhttp = new ActiveXObject("microsoft.xmlhttp");
        //all other browsers
        xmlhttp = new XMLHttpRequest();
        //create xml to be submitted over xmlhttp
        var sXML = "<xml key='Test' action='save'><Id>"+Id+"</Id><UpdatedBy>"+userid+"</UpdatedBy><Amount>" + newamnt + "</Amount></xml>";   
        xmlhttp.open('POST', sURL, false);
        var sResponse = xmlhttp.responseText;
        document.getElementById("result").innerHTML =sResponse;
        document.getElementById("result").innerHTML = e.message;


      This code is present in the extension object which submits data to ASP page at specified URL. sURL in this case. This is working fine with internet explorer but throwing the error "Filed to execute Send on XMLHttpRequest" on google chrome. Can anybody point me right direction to resolve this. Thanks.