V
V
vlad1230322021-07-06 16:20:27
JavaScript
vlad123032, 2021-07-06 16:20:27

How to add a new file(input="file") when adding and not replace the first one?

How to make it so that after adding the first file, if you press again to add the file, then it is added next to it and does not replace the first one

. Through ctrl, you can select several files, and if you still need to select a file, for example, in a folder, you can’t, because everything is replaced files for one

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2021-07-06
@vlad123032

Instead output.innerHTML = children;do
output.insertAdjacentHTML('beforeend', childern);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question