Hi, Using Firefox 3.5.3 (and firebug) I run the Ajax code below locally (i.e. not on the same domain as the Ajax URL). Unlike in IE, this code is not working in Firefox due to cross-domain Ajax restrictions. Of course, as soon as I upload the code to my PHP server on the same domain it runs fine.
However, when running the code locally the 'error'-callback never gets triggered. Instead, the 'success'-callback always get triggered even though the request clearly failed (as confirmed by the fact that 'OnSuccess' is unable to show any data received from the server). Even firebug does not report any errors. Somehow, I expected to see an error like "Permission denied to call method XMLHttpRequest.open". I would feel much more comfortable about my code when I was 100% sure that I can catch all errors. So, I'm wondering why I'm unable to detect this obvious error? $.ajax({ type: "GET", url: "http://dvd.identifier.cdfreaks.com/alive2.php";, cache: false, data: "para1=value1¶2=value2", success: function(data, textStatus) { $("#container_onsuccess").html("@"+Counter+"#"+data+"#"+textStatus); }, error: function (XMLHttpRequest, textStatus, errorThrown) { $("#container_onerror").html("@"+Counter+"#"+textStatus+"#"+errorThrown); }, complete: function (XMLHttpRequest, textStatus) { $("#container_oncomplete").html("@"+Counter+"#"+textStatus); Counter++; ScheduleNextAjaxRequest(); } }); Thanks, Kris