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();
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
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'
3 matches
Mail list logo