Custom button text for file upload

How do I change the default browse html file control button text to any other text?

+3
source share
2 answers

There is no easy solution, but this site:

http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom

provides you with a great way to do this.

+2
source

You can not. It depends on the browser / OS. I have to clarify: you cannot directly change the button text, but there are some workarounds (like Erik)

0
source

Source: https://habr.com/ru/post/1729045/


All Articles