Login | Register   
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


Tip of the Day
Language: Web
Expertise: Intermediate
Apr 19, 2000

Associate a Label and Shortcut Key With a Text Box

We can associate a shortcut key to give focus to an <INPUT> tag as follows:
 
<LABEL FOR="txtName" ACCESSKEY="N">
<U>N</U>ame:</LABEL>
<INPUT TYPE="TEXT" ID="txtName" SIZE=30>
The letter "N" will be underlined, which gives a visual cue that N is the access key.

Browsers that don't support Accesskey will just ignore it.
Maheshwar Deo
 
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