Subj : Re: onkeypress event problem - bug? To : netscape.public.mozilla.jseng From : Martin Honnen Date : Tue Nov 02 2004 12:37 pm Ondra Zizka wrote: > And, by the way, why the element has onkeypress property? Just > for tradition? (Just a rhetorical question...) Yes, traditionally as the element contains the visible element of the HTML document some browsers like IE implement it as the container target. And of course if an event is targetted at an ancestor of the then it bubbles up to the and you can intercept the event there. -- Martin Honnen http://JavaScript.FAQTs.com/ .