Filip
Filip

Reputation: 1

Prevent jQuery Datepicker from closing by clicking anywhere

How to limit the Datepicker to be closed only by clicking on the input field ?

Upvotes: 0

Views: 2952

Answers (2)

Max K.
Max K.

Reputation: 11

Just override _checkExternalClick function like this:

jQuery.datepicker._checkExternalClick = function() {};

Upvotes: 1

Related Questions