Hi,
A few weeks ago I reported a
bug in jQuery UI 1.9, where spinning the spinner once in IE did not fire a change event. A fix was done and is included in milestone 8, and at first I thought it worked as expected. However, further testing shows that it appears not to.
The fix seems to work only some of the time, as sometimes the change event fires and other times not. Strangely, it seems random as to whether the change event fires or not.
My original
jsfiddle is still a valid test of this, just open in IE (I am using 9) and spin the spinner then click off it, then spin again without placing focus in the spinner, and click off. If you spin only once each time, you will soon see the issue arising i.e. sometimes the alert on change does not appear.
Just going up to 10 should be enough to see the issue arising. If you refresh the page, you'll find that repeating your actions will result in the issue occurring for different spinner values than before.
If I put console logs into the blur event code within the spinner JavaScript, I can see that when the problem occurs this.previous equals this.element.val() so change doesn't fire, even though this.previous should be 1 less than the value it thinks it is.
Can one of the UI devs please investigate when you get chance?
Many thanks,
Ian