How do I call a JavaScript function after selecting a file from the Select File window and closing it?

前端 未结 6 1374
無奈伤痛
無奈伤痛 2020-12-14 15:10

I have a file input element


How do I call a JavaScript function after selecting a file from the d

6条回答
  •  忘掉有多难
    2020-12-14 15:22

    Try declaring on the top of your file:

    
    

    then:

    
    
                                     
                  
提交回复
热议问题