Take the 2-minute tour ×

I am working on an app involving datepicker and timepicker and would like to set the onClick for the datepicker "ok" button to spawn the timepicker dialog box. Is this possible or would it be better to just create 2 separate buttons?

share|improve this question
add comment

1 Answer

You can just listen for the return of the DatePicker and use that as the event to launch the TimePicker.

share|improve this answer
add comment

Your Answer


