'jQuery change doesn't fire in IE from expanded select

http://jsfiddle.net/e3ZJa/9/

Two small tests:

  1. select select (but don't expand it), press down and press enter, you will see 1 and 2 in all browsers (let me know if I'm wrong, I tested in IE and Firefox)

  2. expand select, select option by pressing up and down, and press enter, you will see only 2 in IE. Why? I want to see 1 2 what I should modify to get it work? I need to launch one function on select change and another one when user presses enter.

UPD:
About jQuery version we using 1.4.2 in our project, looks like we need to update it, but we will need to retest all project



Solution 1:[1]

This is how 1.4.4 the version you are using worked, you see the 2, if you again click the select (not selecting anything) by clicking it, you see the keyup fired (the 1 in your test case). This is fired on the focus change.

IF you update to jQuery 1.7.1, you will see both events fire as you desire.

Solution 2:[2]

Seems to work fine in IE7 by using Jquery 1.5.2 and above.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mark Schultheiss
Solution 2 Peter Campbell