You're going to have to use the old way of doing "ajax" before "ajax"
Roll your own handler to basically do something like this:
var s = document.createElement("script");
var t = setTimeout(function()
alert("Server failed for " + s.src);
s.src = "http://example.com/foo/getScript.do?param=bar&timeout="
the actions to update the DOM in a manner appropriate to the server
operation requested. Don't forget to set the content-type to
The first line should be to cancel the timeout by the passed id.
Steve Webster wrote:
> On 8/4/06, yuesefa <yuesefa@... <mailto:yuesefa%40yahoo.com>> wrote:
> > hi :-)
> > when i want to make a cross server XMLHttpRequest, i stuck.
> > is there any easy way to solve this problem? i know i can use proxy.
> There are other ways. See the following link for more information.
> The article doesn't give specific details, but it should give you a
> starting point for googling.
> Steve Webster
> http://dynamicflash.com <http://dynamicflash.com>
> This message has been checked for all known viruses. Virus scanning
> powered by Messagelabs http://www.messagelabs.com For more information
> e-mail : hostmaster@...
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com
For more information
e-mail : hostmaster@...