I have a few TextBoxes and some Buttons that are NOT in a <form> or a
FormPanel.  I have a ClickHandler for the buttons that reads the
fields and updates the UI.  Additionally I added KeyPressHandlers to
the TextBoxes to catch ENTER and then fire the button's action.

This works fine in all browsers except IE.  In IE, one of the Button
wrongly gets hightlighted, presumably because it is the default
button, and when I press ENTER the key is not captured by the TextBox
but instead something else happens - if I remember correctly it
reloads the page.  Anyway, my handlers are never executed.

So is there any way to:
1) Disable the highlighting of the "default" button
2) Prevent the browser from stealing the ENTER key from the TextBoxes

Thanks,
John
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to