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

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

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -