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

↘锁芯ラ 提交于 2020-08-11 13:19:14

问题:

It is possible to toggle the visibility of an element, using the functions .hide() , .show() or .toggle() ? 是可能的切换元件的可见性,使用函数.hide() .show().toggle()

How would you test if an element is visible or hidden? 您将如何测试元素是可见还是隐藏?


解决方案:

参考一: https://stackoom.com/question/kOD/如何检查jQuery中是否隐藏了元素
参考二: https://oldbug.net/q/kOD/How-do-I-check-if-an-element-is-hidden-in-jQuery
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!