Imagine you have a text field in the form which is defined as below
<input type="text" name="fake" id="fake" onchange="doSth()" />
doSth() will not be called at all if you are running IE7 and use its auto completion mechanism. If you bind
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?