This question is similar to Check if the datepicker is open , except that it refers to a page that has several date controls.
When there are multiple datepickers on the page, the jQuery user interface appears only to create one datepicker widget, which will be shared with all dumpers.
I am trying to find a way through the datepicker user interface or otherwise to find out which datepicker is open for the widget. Unfortunately, tested and verified tests, such as:
$('#someDatepicker').datepicker('widget').is(':visible');
returns true no matter what datepicker is open for the widget, if it is visible somewhere.
source share