JavaScript Reference/Javascript Properties/ctrlLeft

Материал из Web эксперт
Версия от 11:22, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"ctrlLeft" Example

   <source lang="javascript">
   

<html> <body> <input type="button" value="Click this button while pressing the left Ctrl key" onClick="alert(event.ctrlLeft);"> </body> </html>


     </source>
   
  


"ctrlLeft" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |event | +----------------+--------------------------------------------------------------+

     </source>
   
  


"ctrlLeft" Possible Values

   <source lang="javascript">

Possible Values true false.


     </source>
   
  


"ctrlLeft" Syntax and Note

   <source lang="javascript">

Note: Read-only property. Was left CTRL key pressed. The ctrlLeft property is supported only by Windows NT, 2000, and XP.

Syntax:

window.event.ctrlLeft


     </source>