Radical Hacks : Butch Elrod's WebChat Cursor Hack sent in the following hack...

To submit the Webchat message, clear the message box, and keep the cursor in the message box when hitting Enter, edit chat-html.pl this way:

First
Change
<TEXTAREA NAME=chat_message
ROWS=3 COLS=40 WRAP=physical></TEXTAREA>
 
to something like
 
<input type="text" name="chat_message" size="60" maxlength="200">
 
Second
Change 
<INPUT TYPE=SUBMIT NAME=submit_message
VALUE="Chat">
 
to this
 
<INPUT TYPE=SUBMIT NAME=submit_message 
VALUE="Chat" onkeyup="this.form.reset()"> 
 
Third
Name the form "chat" and use the onReset event to move the focus to the chat_message box.
<FORM METHOD=POST ACTION=$chat_script TARGET="_fmsgs" name="chat" onReset="chat.chat_message.focus()">
 

Life is a,

Butch