- How do I show datepicker?
- How to get date from datepicker in JavaScript?
- How can I hide datepicker after selecting date?
How do I show datepicker?
Syntax: $(". selector"). datepicker("show");
How to get date from datepicker in JavaScript?
Add onchange="showDate(this)" to your input with the date picker. Your div will have the date selected by the datepicker. Save this answer.
How can I hide datepicker after selecting date?
Syntax: $(". selector"). datepicker("hide");