I'm in struggle trying to prevent native click inside jquery datepicker.onSelect event
Example below is not working, click still is being triggered:
onSelect: function(dateText, inst) {
if (myCondition) {
return false;
}}
Another trick would be calling event.preventDefault/ inside onSelect, if event object has been available.
Any known solutions ?