L
L
lavezzi12015-10-15 01:33:38
JavaScript
lavezzi1, 2015-10-15 01:33:38

An easy, proven, semantic way to do file select open actions?

Hello. How to make it so that when clicking on a link, button, icon, the same action is processed as when clicking on input (type=file)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolay Talanov, 2015-10-15
@lavezzi1

<label>
  %любой контент, будь то текст или всякие иконки%
  <input type="file"/>
</label>

Are you interested in this?

P
Pavel Volintsev, 2015-10-15
@copist

The question is very strange, because the "open file" action is only for the user. <input type="file">
Maybe this will help www.dropzonejs.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question