TOC PREV NEXT INDEX

Put your logo here!


shiftKey


Returns a boolean indicating whether the <shift> key was pressed when the event was fired.

Syntax

bool = event.shiftKey 

Parameters

bool is a boolean true | false.

Example

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

Notes

None.

Specification

shiftKey 


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