views:

335

answers:

0

I suspect this is a bug in jQuery, but just putting it out there incase someone knows of a way to get this to work.

I have a link which causes the user to download a file. When this link is clicked and the download begins, any pending ajax request seem to be cancelled. In FF, the error/complete events are invoked and I can handle the event being cancelled. In Chrome, however, I don't get the error/complete event callbacks.

Has anyone else noticed this? Any workaround you may know, apart from doing some synchronization in my code to handle this?

Thanks!