TOC PREV NEXT INDEX

Put your logo here!


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 


mozilla DOM project | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX