Skip to content Skip to sidebar Skip to footer

Triggering Keyup Event On Input Field In Internet Explorer 7

Basically I have a problem with triggering keyup event on input element in. In Firefox it works but in IE7 (or IE 8 in IE 7 mode) it doesn't. Is there a way to make this work (pref

Solution 1:

Basically

jQuery('#inputfield').keyup(function(){ console.log('test'); })

should work even in IE7 - On the other hand it wouldn't be the first bug, you might want to try this:

jQuery('#inputfield').change(function(){ console.log('test'); })

Solution 2:

Hi guys thanks for the help, but Michael Swan got it right, IE7 doesn't support console and that was the bug.

Post a Comment for "Triggering Keyup Event On Input Field In Internet Explorer 7"