[jQuery] Browser Stop call's ajax.Error

2009-09-13 Thread nirazue...@gmail.com
Hi, I've noticed that when I click the Stop button on the browser, or navigate to another page, jQuery.ajax calls the error event. You can see the problem live at: http://www.pingmyport.com/ Code: this.getJson = function(timeout) { if(this.XMLHttpRequest) this.XMLHttpRequest.abort();

[jQuery] Re: Browser Stop call's ajax.Error

2009-09-16 Thread nirazue...@gmail.com
Thank you. Can you think up with a solution to this? How can I "detect" when the call is begin terminated? On Sep 14, 5:32 pm, MiKiTiE wrote: > Probably because you're sending the data to the url, but stopping the > process before it can produce a result. > > O

[jQuery] Re: Browser Stop call's ajax.Error

2009-09-18 Thread nirazue...@gmail.com
Bump. On Sep 16, 9:53 pm, "nirazue...@gmail.com" wrote: > Thank you. > Can you think up with a solution to this? How can I "detect" when the > call is begin terminated? > > On Sep 14, 5:32 pm, MiKiTiE wrote: > > > Probably because you'