When there is a form, clicking enter on the keyboard while in the last textbox does not activate the submit button, instead it just refreshes the page.
Hitting enter in a form usually executes the action="" command in the <form> tag. If no action is specified, script assumes action is the page itself, thus refresh. But without seeing your code it is hard to tell.
Several scenarios:
1. IE: form action is missing, pressing enter submits to the script itself.
NS/Mozilla: Doesn't do anything.
2. Script assumes that there is a variable for the submit button. This is not the case when ENTER is used. Solution: Set a hidden field and check for that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.