I would like to make a button in the toggle switch, but I looked at the documents and could not find the isHidden isVisible property ...
.showCalendar is my button, and #weekDate is my input field. Is there any way to get datepicker display state?
$('.showCalendar').click(function () { $('#weekDate').datepicker("show"); });
source share