Page 1 of 1
Submit button, (Ctrl+S)
Posted: Sun Apr 13, 2003 12:00 am
by phice
I'm looking for a small command inside the <input tag that will allow the user to do a simple Ctrl+S to save the contents of a textarea. I've seen it done numorous times, so I'm pretty sure it's able to be done.
Posted: Mon Apr 14, 2003 5:37 pm
by phice
Figured it out on php.net's website.
Code: Select all
<input type="submit" accesskey="s">
Posted: Mon Apr 14, 2003 5:40 pm
by m3mn0n
wow that's sweet, never heard of that one before.

Posted: Mon Apr 14, 2003 7:50 pm
by phice
Forgot to mention that it uses Alt+S, not Ctrl+S.