Return fires button
This is kind of difficult to explain but here goes. My problem is this. I
have numerous textboxes and buttons in a form. On some of the textboxes I
event. For these textboxes I catch the return key. This all works fine in a
form with no buttons.
When I add buttons (like I do have on this form), when ever I click into a
textbox, the first button I put on the page, gets the the focus/default fire
block around it (The thin black box). If I press return while in the
textbox it fires the button. I realise that this is a default behaviour but
is there anyway I can change this? I do not want to always fire the button.
Only when in certain textboxes or if the button is clicked directly.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center