Menu

Time Picker

Web2Cal.TimeControl was created in an attempt to make it easy to enter time. TimeControl can be easily attached to any text box. The goal is to allow user enter or select from list.

new Web2Cal.TimeControl(TextBoxObject, Start-TimeTextBoxObject, Options)

Simple mode

Web2Cal.TimeControl(document.getElementById("eventStartTIme"));

Specifying a start time field to compute duration.

Web2Cal.TimeControl(document.getElementById("endStartTIme"),
                                 document.getElementById("eventStartTIme"));

Specifying a time format and callback

Web2Cal.TimeControl(document.getElementById("endStartTIme") ,    
                    document.getElementById("eventStartTIme"), 
                    {onTimeSelect: updateDateForTime, timeFormat: 24});

LATEST IN FORUM

  • No posts to display.

ABOUT US