As for the code, have you checked that this works in 1.7b2? Definition and Usage The oninput attribute fires when an element gets user input. Save Your Code. For oninput, Chrome and Firefox have the correct behaviour with both mouse and keyboard interaction. Qual a diferença entre Javascript e jQuery? That's generally the way we'd want to support it in core, rather than create a new non-standard event name. http://stackoverflow.com/questions/15727324/for-a-javascript-autocomplete-search-box-must-we-use-the-input-event-handler. I previously opened a ticket to try and get some support for this event in jQuery 1.7, but it was voted against for several reasons. 元素。, 注意: Internet Explorer 8 及更早 IE 版本不支持 addEventListener() 方法。, 汇总 onchange onpropertychange 和 oninput 事件的区别, , , , 和