I want to change the default value of <input type="file" /> from “Choose file” to “Browse”. How to do that?
<input type="file" />
Hide it and use a other control to trigger it.
<a href="#" onclick="document.getElementById('fileID').click(); return false;" />Browse</a> <input type="file" id="fileID" style="visibility: hidden;" />
2.1m questions
2.1m answers
60 comments
57.0k users