no that is not what he wanted. he is not looking for html code. point is, take lazy user which doesn't like to move with mouse. after filling requered fields he only will press enter and by transfered to next page. Press enter work as long after typing password user pressed TAB to move to next field. But to move directly from password to next page you have to make key listener to listen for enter to be press
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
The first submit button defined in the form has automatic keyboard focus for key events relating to the Enter key.
No need to do anything (unless you define your own higher level event handler to capture and discard those events of course, but then tabbing to the button and pressing space will activate it).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337