HTML5 drag and drop files with multiple delete locations per page

Are there any Javascript solutions that allow you to port HTML5 to multiple targets on a web page?

Example

Five different folders on a web page, and the user can simply drag and drop files and a folder into the destination folder to upload it to this folder.

So far I have been getting drag and drop done for a single target. But I would like something that works with several goals on the page. There are also queue parameters, so not all files are downloaded immediately, which can slow down the server.

The solutions I am considering are:

+4
source share
1 answer

Drag and drop functions only work with modern browsers. if you are going to support IE, I do not recommend this feature.

Your need is very specific, you will not find such a thing ready online. There is a very good drag and drop guide, you can find it here.

http://robertnyman.com/2010/12/16/utilizing-the-html5-file-api-to-choose-upload-preview-and-see-progress-for-multiple-files/

+4
source

Source: https://habr.com/ru/post/1341239/


All Articles