jQuery Timepicker "Now" button not accessing current time -
this question deals third-party plugin, there may enough crossover stock jquery ui datepicker might able out.
1) set maxdate of 0 or new date() set in datetimepicker options
$('.foo').datetimepicker({maxdate:0})
2) press "now" button
!3) button not set time current time, time when page loaded
example: http://jsfiddle.net/rf3gk/
how can work around this? there fix can do, either in external file or in addon itself?
i think mean calling setdate
, or similar in plugin, see jquery datepicker set selected date, on fly.
Comments
Post a Comment