Answer the question
In order to leave comments, you need to log in
How to remove the comment after the input[type="files"] button?
input[type="file"]
How to remove the inscriptions
from the button : "File not selected", "Number of files:",...
If you write input { color: transparent }
, then there will be no text, but there will be an empty space.
If you write input { display: none }
, then the button itself will disappear, and nothing can be drawn in its place.
Looking for a solution without changing the html.
Answer the question
In order to leave comments, you need to log in
It's impossible. I can only suggest with html changes:
<input type="file" style="display: none" id="getFile">
<button onclick="document.getElementById('getFile').click()">Выберите файл</button>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question