charco
08-25-2006, 05:12 PM
Maybe the title isn't too clear!
What I would like to do is submit a form by using the return key - i.e. I have a form with a button which has an onClick event handler and I would like the return button to trigger the onClick event for this specific button as well. This would give the operator the choice of clicking on the button or simply using the return key on the keyboard.
Is it possible?
What I would like to do is submit a form by using the return key - i.e. I have a form with a button which has an onClick event handler and I would like the return button to trigger the onClick event for this specific button as well. This would give the operator the choice of clicking on the button or simply using the return key on the keyboard.
Is it possible?