|
July 8, 2000 HTC-Master Focus/Blur Events Tips: July 2000
Yehuda Shiran, Ph.D.
|
|
The focus and blur events are treated as special-case events in the communication model between a primary document and its HTC. The uniqueness stems from the requirement not to fire focus/blur events on the master element whenever a user changes focus between elements in a component. As a result, the focus/blur events are treated in exactly the same way as the mouse events. There are six focus/blur events in their occurrences' sequence: onbeforefocusenter, onfocusenter, onfocus, onbeforefocusleave, onfocusleave, and onblur.
The
People who read this tip also read these tips: Look for similar tips by subject: |