jonthornton / Datepair.js

A javascript plugin for intelligently selecting date and time ranges, inspired by Google Calendar.
https://www.jonthornton.com/Datepair.js
358 stars 87 forks source link

how to let '<input>' has now time when selecting? #88

Closed jinhang closed 7 years ago

jonthornton commented 7 years ago

Can you restate the question? I don't understand.

jinhang commented 7 years ago

make <input></input> display the current time.

jonthornton commented 7 years ago

$('#someInput').timepicker('setTime', new Date());

jinhang commented 7 years ago

thanks