dcsimg
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Web
Expertise: All
Jun 29, 1999

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Add Accelerator Keys to Your Internet Explorer Pages

Many computer users, especially power users, prefer keyboard commands instead of the mouse. Accelerator keys are common in compiled applications such as Visual Basic programs, but rare on Web pages. If you are using Internet Explorer, you can insert accelerator keys into form controls using the accesskey attribute. The user can press Alt+<accesskey> to move directly to a control. This code shows the use of accelerator keys in a form.

 
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM action=mypage.asp method=post>
<U>F</U>irst name: 
<INPUT id=fname name=fname accesskey=f><BR>
<U>L</U>ast name: 
<INPUT id=lname name=lname accesskey=l><P>
<U>S</U>ubmit 
<INPUT type="submit" value="Submit" id=submit1 name=submit1 accesskey=s>
</FORM>
</BODY>
</HTML>

As of this writing (6/28/99), Netscape Navigator doesn't support the accesskey attribute.

Ken Cox
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date