IE7 – problems with onchange event for text field when auto complete used

Imagine you have a text field in the form which is defined as below

Apparently doSth() will not be called at all if you are running IE7 and use its auto completion mechanism. If you bind doSth() with onblur that won’t solve the case either.


The best solution is to call doSth() only when the form is submitted. That seems to be the safest option.

Unfortunately, there might be cases when doSth() must be called immediately after leaving the input, not only at the submit time. Any ideas here?

Previous Post
Next Post