Hot key for button select

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi just wondering if there is a way to set up a hot key for a button
selection, for example the user hitting Enter is the same as clicking on a
button on the form.
thanks.
 
You can set the accesskey property of most html elements.

<input type="button" accesskey="b" value="click" />
<select accesskey="s">
<option>...</option>
</select>

When you hit Alt-B, the button will be clicked.
When you hti Alt-S, the drop down will receive focus.

HTH,

bill
 
ok thanks for the information.

William F. Robertson said:
You can set the accesskey property of most html elements.

<input type="button" accesskey="b" value="click" />
<select accesskey="s">
<option>...</option>
</select>

When you hit Alt-B, the button will be clicked.
When you hti Alt-S, the drop down will receive focus.

HTH,

bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top