Removing the "No File Chosen" Tooltip from File Inputs in Chrome
In Google Chrome, a file input element displays a tooltip that reads "No file chosen" unless a file is selected. While settings the title attribute to an empty string typically removes tooltips, itなぜか no effect on this specific one.
To remove the tooltip, utilize this workaround:
Solution:
<input type='file' title=" " />
This will effectively eliminate the tooltip without affecting the input element's functionality.
The above is the detailed content of How to Remove the \'No File Chosen\' Tooltip from File Inputs in Chrome?. For more information, please follow other related articles on the PHP Chinese website!