OnChange vs. OnBlur
by Mike Levin SEO & Datamaster, 04/24/2006
Well, I’m here to say that if you just don’t use modal pop-up’s for validation, it is actually better to use onblur, because it avoids a loophole that I found in Internet Explorer. It exists in MSIE 6.0.3790.1830 and MSIE7 beta 7.0.5335.5. When the predictive field completion feature is turned on, it creates a dropdown menu on a field lets you arrow-key down to a previously typed value. This is common on name and email fields. When you fill in a field using this feature, it seemingly lets you advance to the next field as if you tabbed, but without triggering an onchange event on the current field! So, I’m changing my app to use the previously frowned-upon onblur event. It works solidly under both MSIE and FireFox.