Sourabh Dhiman

Sourabh Dhiman

  • 1.7k
  • 214
  • 6.3k

Not Run Code Google chrome ,FF, Safari .

Oct 17 2019 8:36 AM
function AjaxCall() {
var ID = getCookie();
var NewValue = ID.replace("transactionID=", "");
var xmlHttpObject = null;
try {
xmlHttpObject = new XMLHttpRequest();
}
catch (ex) {
try {
xmlHttpObject = new ActiveXObject('Msxml2.XMLHTTP');
}
catch (ex) {
xmlHttpObject = new ActiveXObject('Microsoft.XMLHTTP');
}
}
if (xmlHttpObject == null) {
window.alert('AJAX not available in this browser');
return;
}
xmlHttpObject.open("GET", NewValue, false);
removeSoftbooking(NewValue);
 
 This code not run google chrome,FF,Safari. only run this IE . Please help me .
 
 

Answers (1)