function GetWebScheduleInfoReference() { var scheduleInfo = ig_getWebScheduleInfoById("WebScheduleInfo1"); alert(scheduleInfo.getID()); }
When working with WebScheduleInfo™, you may want perform some actions client-side. In order to do this, you have to get a reference to the WebScheduleInfo object. We provide a utility function that allows you to pass in the Id of the WebScheduleInfo and get a reference to WebScheduleInfo.
The code below gets a reference to the WebScheduleInfo and displays an alert box that shows the WebScheduleInfo’s ID.
In JavaScript:
function GetWebScheduleInfoReference() { var scheduleInfo = ig_getWebScheduleInfoById("WebScheduleInfo1"); alert(scheduleInfo.getID()); }