Click to See Complete Forum and Search --> : Submit form using keyboard?


DWZ
11-27-2002, 02:51 AM
I have a website forum and I wanted to know if it was possible to be able to hit CTRL and <ENTER> to submit a reply or form.

It's in fact a vBulletin forum, so the HTML is much like this site.

I wanted to know if it was possible so if I hit CTRL and the <ENTER> key together now, it would submit the post, so basically hit the "Submit new thread" button for me.

It would be cool if I was able to hit CTRL and \ to preview the post...

If you look at the HTML of my site on a new reply/thread (or this site even), you see: <input type="submit" class="bginput" name="submit" value="Submit New Thread" accesskey="s" tabindex="3">
<input type="submit" class="bginput" name="preview" value="Preview Post" accesskey="p" tabindex="4">so, ummm... yeah

If you can understand what I'm getting at.

Thanks for any help you could give,

Alan