Javascript Reference
Categories: BUTTON

javascript BUTTON accessKey

@March 15, 2008, 1:22 a.m.
\n \n ]\n \n ]
accessKeyFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM 1
Read/Write
 

A single character key that "clicks" the button from the keyboard. The browser and operating system determine whether the user must press a modifier key (e.g., Ctrl, Alt, or Command) with the access key to "click" the button. In IE 4/Windows, the Alt key is required, and the key is not case sensitive. Not working in IE 4/Mac.

 
Example
document.entryForm.myButton.accessKey = "n"
 
Value
Single alphanumeric (and punctuation) keyboard character.
 
Default
None.

Powered by Linode.