I have a field with a datepicker. I want know if it is open. I\'ve tried with:
$(\"#filter_date\").datepicker( \"widget\" ).is(\":visible\")
<
Access the datepicker's style attribute and compare it with a style when datepicker is hidden (display: none):
var datePickerStyle = $('.datepicker').attr('style');
var noneStyle = 'display: none;';
if(datePickerStyle.indexOf(noneStyle) != -1){
console.log('shown');
} else {
console.log('not shown');
}