Comments (2)
You can visually cancel it for the user in the interface, and still let the request complete. How you choose to handle what's going on on the server side is up to you.
from jquery-filedrop.
You can cancel an XHR request using the abort() method on the XHR object.
To gain access to that object you could append it to the file variable in the upload() method of the plugin.
That way the browser will stop sending the file.
from jquery-filedrop.
Related Issues (20)
- Upload event doesn't work HOT 1
- uploading very large files (200 MB +) results in allocation size overflow HOT 1
- Upload directly to s3 bucket
- file.name HOT 1
- RangeError: Maximum call stack size exceeded. HOT 2
- If drop and change event are bind a $('input:file') element, drop event not work
- Make dropzone clicking triggering fallback configurable
- unicode characters are not supported
- afterAll doesn't fire if files are rejected HOT 1
- Button Click Open FileUpload Dialog available? HOT 1
- Drag and drop doesn't work in MS Edge on Win10
- 'BrowserNotSupported' alert on IE10+ HOT 2
- maxfiles can't work. HOT 2
- Inaccurate file sizes on drop
- Upload on button click HOT 2
- jQuery(...).filedrop is not a function with jQuery 3.1.1 HOT 10
- Not Found, error message while draging file into filedrop area.
- Upload .jfif images
- How to disable the upload HOT 1
- Disable Drag and Drop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-filedrop.