Subj : Re: onkeypress event problem - bug? To : netscape.public.mozilla.jseng From : Ondra Zizka Date : Tue Nov 02 2004 12:08 am WOW! That really didn't cross my mind. But then, the bug is in the book I learned DOM from - document.body.onkeypress is used there. And, by the way, why the element has onkeypress property? Just for tradition? (Just a rhetorical question...) Thanks a lot. Ondra Zizka "Martin Honnen" píse v diskusním príspevku news:cm56d2$b261@ripley.netscape.com... | | | Ondra Zizka wrote: | | | > I am in the middle of converting one large app written in JS/DOM from MSIE to Mozilla (Gecko). It is controlled entirely with | > keyboard. But after few weeks of rewriting everything to work with both IE and Moz, I found that Mozilla does not send key events to | > the scripts. Actually, it does, but only when the focus is on some input element (textarea, input, a). According to JavaScript | > console, there are no errors. | > | > The 2nd problem is with "find as you type" function of Moz. When enabled, Mozilla does not send key events even when the focus is on | > some input element. | > | > Tested with Mozilla 1.7.3 and Firefox 1.0 PR3. | > | > -------------- Code: ------------------ | >