how to fire event on file select

前端 未结 7 1027
遥遥无期
遥遥无期 2020-12-02 15:25

I\'ve a form as

相关标签:
7条回答
  • 2020-12-02 15:51

    Use the change event on the file input.

    $("#file").change(function(){
             //submit the form here
     });
    
    0 讨论(0)
提交回复
热议问题