Skip to content Skip to sidebar Skip to footer

Addeventlistener("input", Callback) Doesn't Work In Opera?

I'm trying to listen to 'oninput' event, but something is wrong with Opera: document.getElementById('i1').oninput = function(){ console.log('inputting'); }; document.getElemen

Solution 1:

OK, I figured out this myself, addEventListener has a 3rd parameter, it can be ignored in Chrome but not other browsers.


Post a Comment for "Addeventlistener("input", Callback) Doesn't Work In Opera?"