[thelist] IE Field Tip

Jeff Howden jeff at jeffhowden.com
Wed Jul 16 16:23:02 CDT 2003


> From: Joshua Olson
> > i would use onchange and onpropertychange as suggested
> > by the link to msdn provided by another evoltista.  i
> > would *not* use onblur as their can be some dire
> > consequences with that event handler when used in
> > conjunction with focus() and alert().
> Please explain.  Thanks.

um, well....

blur() -> execute onblur event handler statement
 -> results in aler()
 -> results in focus() method being called
 -> user changes data and tabs to next field, also with an onblur event

it's really easy to end up with dueling alert() dialogs stuck in an endless


Jeff Howden - Web Application Specialist
Résumé - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/

More information about the thelist mailing list