Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
here is one of the links of the codepen
article,
take it and use it, you don’t lose anything, and everything will work
There are sorts at the end of the article, take them and use them!
the code emulates the behavior of input. Without js, there is no sensible, cross-browser solution. Here fileApi is used, the thing is relatively new. I would advise doing jquery + css, there is a more compact solution. True, without native js. the algorithm is simple 1. Let's change the input to a pseudo-element. 2. By clicking the pseudo-element, we process the input event 3. display the result (path to the file), if necessary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question