I am creating a chat system. I have a form with just a textarea where the chat message can be entered. I want the form to be submitted when the Enter key is pressed. So I found this script which works nicely when the script is on the same page as the form...
Then I want to call the submitenter function from the frameset, something like this...
Trouble is, event is not defined anymore.
Also the line:
What are the correct frame references? Thanks.