如何确定表格行是否可见? [英] How to determine if a table row is visible or not?

查看:89
本文介绍了如何确定表格行是否可见?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何识别表格行是否可见。我想通过使用jQuery来解决

I want to know how to identify table row is visible or not. I want to resolve by using jQuery

推荐答案

你可以使用 :visible 伪选择器,以及 方法,它返回一个布尔值:

You can use the :visible pseudo-selector, and the is method, which returns a boolean value:

if($("#tableRowId").is(":visible")) {
    //It's visible
}

这篇关于如何确定表格行是否可见?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆