如何检查jQuery中是否隐藏了一个元素?

可以使用函数.hide().show().toggle()

您如何测试元素是可见还是隐藏?

转载于:https://stackoverflow.com/questions/178325/how-do-i-check-if-an-element-is-hidden-in-jquery?页=2&标签=票