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 futureReceived on Wednesday, 14 June 2006 09:15:12 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT