I want to call it again when a button is pressed. What's the syntax to call it ?
- Code: Select all
//funciton
var progressInterval = setInterval(function() {
...
}
thanks
![]() | It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!) |

|
|
|
|
//funciton
var progressInterval = setInterval(function() {
...
}<input type="button" value="Press Me" onclick = "var progressInterval = setInterval(function () { ... }">

Users browsing this forum: No registered users and 6 guests