How to override button behavior Input type = "file" Overview?

I need to change the language / language of the browse button in input type = "file" We have a special function for changing the language of any text to the language of the browser, such as en-US es-MX, etc.

Let's say

changeLang("Test"); // This will display test in Spanish if the browser 
                    // locale is es-MX

What I need to do is change the language of the browse button. Since it is not displayed, I cannot encode it as

 changeLang("Browse..."); 

This is why I need to get the code for this input type and override it so that I can apply my function to view the text.

It is clear that you can give a solution for this.

Thank!

Jay ...

+3
source share
2 answers

, , , . .

+2

, , , .

. .

0

Source: https://habr.com/ru/post/1736602/


All Articles