How to rename HTML “browse” button of an input type=file?

前端 未结 10 1541
轻奢々
轻奢々 2020-11-27 15:01

How to rename the browse button as \"Select the file\"? E.g.:


10条回答
  •  野性不改
    2020-11-27 15:50

    A bit of JavaScript will take care of it:

    
    
    
    
    
    

    Not the nicest looking solution, but it works.

提交回复
热议问题