JavaScript Reference/Javascript Properties/updateInterval

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

"updateInterval" Example

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



"updateInterval" is applied to

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



"updateInterval" Possible Values

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



"updateInterval" Syntax and Note

Note:
Read and write property. 
Specifies the milliseconds between screen updates. 
    
Syntax:
    
screen.updateInterval = value