jquery .on('input')不会单独在ie8中被触发 [英] jquery .on('input') doesn't get fired in ie8 alone
本文介绍了jquery .on('input')不会单独在ie8中被触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到了IE8特有的这个问题。此事件不仅仅在IE8中触发,但在IE9和Firefox和Chrome等其他浏览器中工作正常。
I'm having this issue specific to IE8. This event doesn't fire in IE8 alone, but is working fine in IE9 and other browsers like Firefox and Chrome.
$('#myId').on('input', function () {
//do something.
}
如果在IE8中有相同的解决方法,请告诉我。
Please let me know if there is any work around for the same in IE8.
谢谢!
推荐答案
oninput是IE9 +,这就是它在IE8中不起作用的原因
oninput is IE9+, that is why it does not work in IE8
Feature Chrome Firefox Internet Explorer Opera Safari
Basic support (Yes) 2 9 10 (Yes)
这篇关于jquery .on('input')不会单独在ie8中被触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文