JavaScript Reference/Javascript Properties/updateInterval

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

"updateInterval" Example

   <source lang="javascript">
   

<html> <body> <button onclick="screen.updateInterval=2000; alert(screen.updateInterval);"> Update Interval </button> </body> </html>


     </source>
   
  


"updateInterval" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |screen | +----------------+--------------------------------------------------------------+

     </source>
   
  


"updateInterval" Possible Values

   <source lang="javascript">

Possible Values The default value is 0, which means that no interval is set.


     </source>
   
  


"updateInterval" Syntax and Note

   <source lang="javascript">

Note: Read and write property. Specifies the milliseconds between screen updates.

Syntax:

screen.updateInterval = value


     </source>