I want to change the default value of <input type="file" />
from “Choose file” to “Browse”. How to do that?
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
- implementing html5 drag and drop photos with knock
- What is the best way to do a search in a large fil
Here is another solution; hiding file-type input field (button) and placing another regular button-type input field (button) which allows one to change its content - triggering first file button (lower one) is done with JavaScript clicking on second regular button (upper one).
→ Howto Style the Button of a input type="file" Control
Hide it and use a other control to trigger it.
I created a jsFiddle to show how, you can find it here:
Custom browse button