Answer the question
In order to leave comments, you need to log in
How does the input file work?
Hello!
The site needed to implement the ability to attach text files to the form in the usual way ( ) and Drag'n'Drop .
The second I have never done and was sure that there are ready-made plugins.
For example, I found Dropzone.js, but as I understand it, it immediately uploads the file to the server, which IMHO is not the best option. And accordingly, I asked myself several questions:
1) How does the usual one work ? Not really when attaching, it also immediately loads the file on the server?
2) And based on this, if it still loads only after submitting the form, then how to make Drag'n'Drop work by analogy with ? <input type="file">
<input type="file">
<input type="file">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question