trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.66k stars 1.05k forks source link

Is there an option to remove the "Now" button? #766

Open jmzbond opened 9 years ago

jmzbond commented 9 years ago

I couldn't seem to find this in the Docs, only how to change the text of the button.

Thanks, GREAT addon by the way! So glad I found it

glend1 commented 9 years ago

If i understand the question correctly.

ShowButtonPanel: false

lenamtl commented 8 years ago

Hi, showButtonPanel: false, hide both buttons Now and Done. Is there a way to show Done button and hide Now button?

ericzon commented 7 years ago

I think you can't disable directly but with this simple css

.ui-datepicker-current { display: none; }

should do the trick