How to overide the behavior of Input type="file" Browse button

Posted by jay sean on Stack Overflow See other posts from Stack Overflow or by jay sean
Published on 2010-03-12T04:54:15Z Indexed on 2010/03/12 4:57 UTC
Read the original article Hit count: 397

Filed under:

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 overide so that I can apply my funtion to Browse text.

It will be appreciated if you can give a solution for this.



© Stack Overflow or respective owner

Related posts about html