Sourabh Dhiman

Sourabh Dhiman

  • NA
  • 323
  • 57.9k

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)