javascript - how to translate Browse or Choose File for form input type=file based on browser language change -
html form input type = file providing "browse" , "no file selected" in firefox , "choose file" , "no file chosen" in chrome choose file.
i have use case translate "browse" , "choose file" per browser language.
is possible without adding javascript library?
thanks in advance
native input elements depending on operating system , browser clients using. can workaround custom file picker (an input file hidden, layer triggers hidden input file, text like).
you can use refferences:
how style "input file" css3 / javascript?
http://markusslima.github.io/jquery-filestyle/
http://moro.es/projects/jquery-nicefileinput-js/
good luck!
Comments
Post a Comment