jquery file upload error: has no method 'abort' -


i'm trying implement cancel action file upload plugin , have issue aborting jqxhr request.

$('#filedd').fileupload({         datatype: 'json',         url: "",         progress: function (e, data) {},         add: function(e, data) {                            req = data.submit();                 settimeout(function(){                     req.abort();                 }, 100)                    } ); 

and result

req has not method 'abort'

i've tried other options reject() it's ok, doesn't cancel upload (break request).

any ideas wrong here?


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -