TOC PREV NEXT INDEX

domref



ctrlKey


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

Syntax

bool = event.ctrlKey
 

Parameters

bool is a boolean true | false.

Example

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

 

Notes

None.

Specification

ctrlKey
 


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