onKeyPress does not work in Firefox. If use tab to navigate each field and press "Enter" on "Next" button to submit form and process to the next form / page, IE works well even if without onKeyPress code. However, Firefox supresses onKeyPress on submit when "Enter" key is pressed.
e.which and code="13" does not work for submit button at all in Firefox nor by changing code to focus().
e.g. use tab to navigate each field, when tab goes from "Previous" to "Next" button, it kicks to the previous page in Firefox before even I press "Enter" key. So the "Cancel" button on the right of "Next" is never be reached in Firefox.
Does any javascript expert have solution?
Thanks in advance.
Hannie
e.which and code="13" does not work for submit button at all in Firefox nor by changing code to focus().
e.g. use tab to navigate each field, when tab goes from "Previous" to "Next" button, it kicks to the previous page in Firefox before even I press "Enter" key. So the "Cancel" button on the right of "Next" is never be reached in Firefox.
Does any javascript expert have solution?
Thanks in advance.
Hannie
Comment