weburl is not getting called in Crome
xmlHttpObject.open("GET", webUrl, false);
Javascript Code
function ajaxunlockrefno(refno, comp) {
var webUrl = 'ajaxdelete.aspx?RefNo=' + refno + '&Comp=' + comp;
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 is not available in this browser');
return;
}
xmlHttpObject.open("GET", webUrl, false);
xmlHttpObject.send();
}