jQuery: (JQuery UI) Datepicker is shown or is showing hack.
April 29th, 2009 by jeremychoneThe jQuery UI Datepicker does not have a method to test if the datepicker is shown, but since it uses a singleton pattern, you can access the private flag directly with:
$.datepicker._datepickerShowing
Not super elegant, but it works. Also, the singleton approach means that only one date picker can be shown at a time.