JavaScript Tutorial/Document/onkeydown — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
 
м (1 версия)
 
(нет различий)

Текущая версия на 11:24, 26 мая 2010

document.onkeydown

The onkeydown event handler specifies what should happen when any key is pressed when the Document object is in focus.



   <source lang="javascript">

<html>

   <head>
   <script language="JavaScript1.2">
   
   </script>
   </head>
   <body>
   press a key within this document.
   </body>
   </html></source>