Hi, I have several buttons in my JSF form page. There are also several input fields. What I would like is when the user is in one particular text field and hits Enter, I want to trigger the button associated with it. If I'm in another text field, it should trigger a different button.
Basically I want to change submit button focus with javascript or JSF depending on which input field has focus. What is the best way to do this? -Steve

