Hey, I couldn't get the ajaxStop global event to fire on errors (connection dropped etc.) when doing cross-domain/subdomain calls to getScript/ajax without doing this:
--- old-symbolicweb/javascript/jquery-1.2.6.js 2008-07-18 13:38:02.000000000 +0200 +++ new-symbolicweb/javascript/jquery-1.2.6.js 2008-07-18 13:38:02.000000000 +0200 @@ -2668,7 +2668,7 @@ var done = false; // Attach handlers for all browsers - script.onload = script.onreadystatechange = function(){ + script.onerror = script.onload = script.onreadystatechange = function(){ if ( !done && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete") ) { done = true; ..only tested on IE6 and FF2.x for now. I'm not sure it is correct in general but this works for me now. -- Lars Rune Nøstdal http://nostdal.org/