Javascript Reference
Categories: STYLE

javascript STYLE accelerator

@March 15, 2008, 1:22 a.m.
acceleratorFirefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

See text  

For IE 5 and later running under Windows 2000 or newer version of Windows, users can set a preference to highlight an accelerator key for commands (or web page accessKey letters) when the user presses the Alt key. The accelerator key property controls whether the element is treated as a highlightable accelerator key string. Available as a property of the IE currentStyle (read-only) and runtimeStyle (read/write) objects only.

 
Example
 
document.getElementById("controlH").style.accelerator = true;
 
Value

Boolean value: true | false.

 
Default

false


Powered by Linode.