How to override the behavior of Input type="file" Browse button?
- by jay sean
Hi All,
I need to change the locale/language of the browse button in input type="file"
We have a special function to change the locale of any text to the browser language such as en-US es-MX etc.
Say
changeLang("Test"); // This will display test in Spanish if the browser
// locale is es-MX
What I need to do is to change the language of the browse button.
Since it is not displayed, I can't code it like
changeLang("Browse...");
That's why I need to get the code of this input type and override so that I can apply my function to Browse text.
It will be appreciated if you can give a solution for this.
Thanks!
Jay...