How do I make the jQuery Datepicker open up by a user defined button?
I have solved using focus.
$("#datepicker").datepicker();
$("#myButton").click(function() {
$("#datepicker").focus();
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With