javascript event shiftKey

shiftKeyNN 6 IE 4 DOM 2

Read-only

Returns true if the left or right Shift key was pressed at the instant the event fired.

 
Example
 
if (evt.shiftKey) {
    // process for Shift key being down
}
 
Value

Boolean value: true | false.

 
Default

false


  • P....
    #1
    2011-10-17
    Reviewing ...
784,Nickname,Homepage or email,Comments here,Add comment