July 8, 2000 - HTC-Master Focus/Blur Events
July 8, 2000|
HTC-Master Focus/Blur Events
Tips: July 2000
Yehuda Shiran, Ph.D.
onfocusleave events cannot be cancelled. When they fire on the root element of the HTC tree, the
onblur events, respectively, are fired on the master element in the primary document. The
onbeforefocusleave events do not bubble but can be cancelled. Since they do not bubble, only occurrences of these events directly on the root element of the HTC tree are fired on the master element. But, because these events can be cancelled, focus on the master element can be cancelled.