Any alternative to jQuery change() to detect when user selects new file via dialog box in IE8?

前端 未结 3 475
不知归路
不知归路 2020-12-11 07:56

I am unable to detect when input type=\"file\" changes its value after user selects file and the dialog box closes.

$(\'.myInput\').change(function(){
    a         


        
3条回答
  •  無奈伤痛
    2020-12-11 08:40

    This was a known bug that was resolved as part of the jQuery 1.4.2 release, 1.4.2 got a major event model re-write and this was fixed as part of that, just upgrade to resolve the problem :)

提交回复
热议问题