F.15.1- How Do I Create Hotkeys (Keyboard Shortcuts) for My Form Fields?
by NT Community Manager.
|
| << F.15.0- Two Frequently Asked Questions about Forms | AppendixF | F.15.2- How Can I Change the Tab Order for My Form Fields? >> |
How Do I Create Hotkeys (Keyboard Shortcuts) for My Form Fields?
Starting with HTML 4, you can use an ACCESSKEYattribute with any INPUT tag. The use of ACCESSKEY attributes has no effect on the data sentback to the server
...
<BODY>
<H3>HotKey 01 Form</H3>
<H3>ASPalliance01 Form</H3>
<FORM ACTION="RequestSniffer.asp"METHOD=GET NAME="Form1">
<U>F</U>irst Name <INPUTNAME="NameFirst" ACCESSKEY="f"VALUE="aaa"><BR>
<U>L</U>ast Name <INPUTNAME="NameLast" ACCESSKEY="l"VALUE="bbb"><BR>
<INPUT TYPE="SUBMIT" VALUE="SubmitQuery">
</FORM>
</BODY>
...
| << F.15.0- Two Frequently Asked Questions about Forms | AppendixF | F.15.2- How Can I Change the Tab Order for My Form Fields? >> |

RSS

