RemoveEvent Method
The RemoveEvent method removes an event.
Syntax
SiteKiosk.Scheduler.RemoveEvent(id)
|
Parameters
id |
Integer value that specifies the event ID. |
Return Value
Remarks
Examples
The following example creates a periodic event and removes it after the first call.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
evtid = SiteKiosk.Scheduler.AddPeriodicEvent(5000, myfunction);
function myfunction(eventID)
{
alert("5 seconds have passed");
SiteKiosk.Scheduler.RemoveEvent(eventID);
}
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top