Answers for "html input type file change text"

1

change choose file button text

<button style="display:block;width:120px; height:30px;" onclick="document.getElementById('getFile').click()">Your text here</button>


<input type='file' id="getFile" style="display:none">
Posted by: Guest on December-11-2020
0

change the text of input file in html

<div>
  <label for="files" class="btn">Select Image</label>
  <input id="files" style="visibility:hidden;" type="file">
</div>
Posted by: Guest on April-20-2021

Code answers related to "html input type file change text"

Browse Popular Code Answers by Language