Roberto Ortelli schrieb:
> Dear all,
> We've made an ajax upload form attaching multiple files. Now, we would
> like that the user can stop the attaching process of file by clicking
> on a link.
>
> How can we kill an ajax call with jQuery?
If you use $.ajax for your remote calls it returns the XHR object...:
var xhr = $.ajax({...});
You can then stop it using the given function:
xhr.abort();
I haven't tried that, does that work?
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/