On 25 nov, 23:16, Gangaram <[email protected]> wrote: > GWT 2.1.0/ APP ENGINE 1.3.8/Google plugin eclipse 3.5 > > This is partial code from from tutorial StockWatcher. > > // Listen for keyboard events in the input box. > newSymbolTextBox.addKeyPressHandler(new KeyPressHandler() > { > public void onKeyPress(KeyPressEvent event) { > if (event.getCharCode() == KeyCodes.KEY_ENTER) { > addStock(); > } > } > }); > > I came across a unique problem on event hander onKeyPress. This event > works fine in IE but not on Firefox 3.6.12. > > How can I make it work for the said Firefox version?
Use KeyDown or KeyUp instead of KeyPress. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
