A
A
Aljo2022-04-16 08:23:18
HTML
Aljo, 2022-04-16 08:23:18

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

1 answer(s)
D
Dr. Bacon, 2022-04-16
@aljo222

You open the docks for Dropzone.js and read, there is always a setting about autoloading there. Or, ok google, "dropzone.js disable autoupload"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question