“onchange” event delayed in IE? (ok with Firefox)

前端 未结 6 1525
臣服心动
臣服心动 2020-12-10 07:56

It might be a beginner question but I can\'t understand why the onchange event is never called by IE while it works Ok with firefox.



        
6条回答
  •  余生分开走
    2020-12-10 08:52

    IE does it after your input loses focus, which isn't until you click the button, tab out, or click somewhere else on the screen. Try onclick or one of the other events.

提交回复
热议问题