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

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

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -

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