Method of Form
New in package 166Description
Calls a function repeatedly, with a fixed time delay between each call to that function.
Syntax
var intervalID = Form.setInterval( func, delay );
Parameters
Parameter | Description |
---|---|
intervalID | Unique interval ID you can pass to Form.clearInterval |
func | Function you want to be called repeatedly |
delay | Number of milliseconds (thousandths of a second) that the setInterval() function should wait before each call to func. As with Form.setTimeout, there is a minimum delay enforced. |
Example
Example 1: In this example, field control 'clock' will display current time and change seconds.