JavaScript and client side scripting.
Moderator: General Moderators
phice
Moderator
Posts: 1416 Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:
Post
by phice » Sun Apr 13, 2003 12:00 am
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.
phice
Moderator
Posts: 1416 Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:
Post
by phice » Mon Apr 14, 2003 5:37 pm
Figured it out on php.net's website.
Code: Select all
<input type="submit" accesskey="s">
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Mon Apr 14, 2003 5:40 pm
wow that's sweet, never heard of that one before.
phice
Moderator
Posts: 1416 Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:
Post
by phice » Mon Apr 14, 2003 7:50 pm
Forgot to mention that it uses Alt+S, not Ctrl+S.