I asked,
Can you tell me why my searches are working ok in IE8 but get stuck with safari and chrome?
www.netivot.biz
The ajax code is at www.netivot.biz/js/Ajax.js
It works with some xml and xslt files
then jitter suggested to preplace my code with :
function getAjaxObject() {
var xmlHttp = null;
try {
//FF, Opera, Safari, Chrome, IE7+
xmlHttp = new XMLHttpRequest();
} catch(e) {
try {
//IE6+
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch(e) {
try {
//IE5+
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch(e) {
xmlHttp = null;
}
}
}
return xmlHttp;}
but still dont work on safari and chrome any advise?