Worked with bootstrap form helpers library. Looks nice and great integration with twitter bootstrap. But spent a lot of time to figure out how to access bfhdatepicker and bfhtimepicker objects. Unfortunately googling didn’t get any answer. As usual key was simple 🙂 Hope this will save time for someone else.
var datePicker = $('#datepicker_id').data('bfhdatepicker'); datePicker.setDate('today') var timePicker = $('#timepicker_id').data('bfhtimepicker'); timePicker.setTime('now')