- From: Mihai Sucan <mihai.sucan@gmail.com>
- Date: Wed, 14 Jun 2006 12:15:06 +0300
- To: "David Arthur" <mumrah@gmail.com>, public-webapi@w3.org
Le Tue, 13 Jun 2006 23:29:28 +0300, David Arthur <mumrah@gmail.com> 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
Received on Wednesday, 14 June 2006 09:15:12 UTC