TOC PREV NEXT INDEX

domref



altKey


Indicates whether the <alt> key was pressed when the event was fired.

Syntax

bool = event.altKey
 

Parameters

bool is a boolean true | false.

Example

function goInput(e) { // checks altkey and
 
  if e.altKey         // passes event along
 
    superSizeOutput(e);
 
  else
 
    doOutput(e)
 

Notes

None.

Specification

link to spec
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX