Reputation: 1
How to limit the Datepicker to be closed only by clicking on the input field ?
Upvotes: 0
Views: 2952
Reputation: 11
Just override _checkExternalClick function like this:
jQuery.datepicker._checkExternalClick = function() {};
Upvotes: 1
Reputation: 25435
assuming its the UI datepicker plugin
and here: jQuery Datepicker: Prevent closing picker when clicking a date
Upvotes: 1