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.
If it's none of these, post your code please.