Subj : onkeypress event problem - bug? To : netscape.public.mozilla.jseng From : Ondra Zizka Date : Sun Oct 31 2004 06:08 pm Hello, 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: ------------------
Ahoj lidi ---------- ( Whole at http://ondra.zizka.cz/projekty/miner/sm_keypress.html ) -------- .