IE7 and IE8 change event not being thrown for text input

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-06-17T22:28:04Z Indexed on 2010/06/17 22:33 UTC
Read the original article Hit count: 135

I have a form that I auto focus at startup of the page with jquery. I also have change event handlers in place for whenever an input changes.

If I change the value of the first field that was autofocused, and then move to the next field, the change event handler doesn't fire. If I remove the autofocusing, and just focus manually, then change it then move to the next field, the change event does fire.

This only happens on IE. It works fine on firefox and chrome.

Anyone experience this before?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery