Sean K "Buffistechnology 2: You Made Her So She Growls?" Oct 16, 2005 11:34:09 am PDT
Sean K says that he's (she's?) used to being able to tab from this textarea, have the "Post message" button highlighted and then press the Enter key to post a message. This tab order apparently differs from browser to browser.
One quick and easy way to force this behavior cross-browser is to use the tabindex attribute. You'd need to set the tabindex="1" in the "content" textarea:
<textarea name="content" rows="10" cols="40" class="formpost" wrap="virtual" tabindex="1"></textarea>
and tabindex="2" in the "Post message" button:
<p><input name="addpost" value="[post]" src="showthread.php_files/btn_post.gif" border="0" height="25" type="image" width="155" tabindex="2"></p>
Incidentally, there are two controls named "addpost": the Post message button and a hidden field. I've tested the above in Windows XP, IE and Firefox and it works.