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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -