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
 
Back
Top