TOC PREV NEXT INDEX

domref



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
 


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