检查datepicker是否打开 [英] Check if datepicker is open
本文介绍了检查datepicker是否打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
$(#filter_date)。datepicker(widget).is(:visible )
但总是返回true。
如何查看是否开放?
解决方案
过去这可能是一个可能的错误。现在这个解决方案
$(#filter_date)。datepicker(widget).is(:visible)
完美工作
I have a field with a datepicker. I want know if it is open. I've tried with:
$("#filter_date").datepicker( "widget" ).is(":visible")
but it returns always true.
How can I check if it's open?
解决方案
This might be a possible bug in the past. Now this solution
$("#filter_date").datepicker( "widget" ).is(":visible")
works perfectly
这篇关于检查datepicker是否打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文