J
JRough
I have a datefield with a YUI calendar object drop down with a
customized time field that is displayed at the bottom of the
calendar. The time field is just an input field that allows the user
to change the time and then a submit button with code that filters the
data based on the date and time of day.
S M T W TH F S
1 2 3 4
5 6 7 8 9 10 11 .................
Time: [ 12:01:60]
What I need to do is attach select drop downs on the time field
object for the hours, minutes, and seconds.
It is heavily customized and fragile code . Is there an event that
would tell me whether
the user clicks on the hours, or minutes or seconds? My idea is just
to take the hours or minutes or seconds that the user
clicks and create a drop down select option list starting with for
example 12:00, 13:00, 14:00, etc. I just want to know how to do
it.
The best would be the YUI 3 timepicker but this is YUI 2 and I just
want to see if this works first.
Thanks,
J R
customized time field that is displayed at the bottom of the
calendar. The time field is just an input field that allows the user
to change the time and then a submit button with code that filters the
data based on the date and time of day.
S M T W TH F S
1 2 3 4
5 6 7 8 9 10 11 .................
Time: [ 12:01:60]
What I need to do is attach select drop downs on the time field
object for the hours, minutes, and seconds.
It is heavily customized and fragile code . Is there an event that
would tell me whether
the user clicks on the hours, or minutes or seconds? My idea is just
to take the hours or minutes or seconds that the user
clicks and create a drop down select option list starting with for
example 12:00, 13:00, 14:00, etc. I just want to know how to do
it.
The best would be the YUI 3 timepicker but this is YUI 2 and I just
want to see if this works first.
Thanks,
J R