Le Tue, 13 Jun 2006 23:29:28 +0300, David Arthur <[EMAIL PROTECTED]> a écrit:

how about a retry method?

so maybe one could do this.

xhr.open("GET",url,true);
xhr.onreadystatechange = function(){
if(xhr.readyState == 4 && xhr.status == 408)
{
//code for timeout
xhr.retry();
}
xhr.send(null);

+1

I like the idea. It can prove useful in situations when the user experiences a short network hiccup.


--
http://www.robodesign.ro
ROBO Design - We bring you the future

Reply via email to