iCalendar Events and Methods
You can use event parameters, which allow JavaScript functions to be associated with date selections, with your calendars. For more information about calendars, see iCalendar.
These events are listed in the following table:
Event | Provides the name of the JavaScript function that is called when |
| The applet is initialized on a Web page for the first time |
| The user selects a value in the applet |
| The user double-clicks a cell in the calendar |
Common methods used with calendars are listed in the following table:
Method | Use |
|---|---|
| Sets the date by providing a date/time value string and a parameter that describes the format so that it can be parsed and converted |
| Returns the selected date in the specified format |
| Sets the calendar to the date and time from the client Web browser |
| Sets the month to the indicated value (1-12) |
| Sets the year to the indicated value |