当前位置:首页 >> 网络编程

jquery通过visible来判断标签是否显示或隐藏

复制代码 代码如下:
if($(".spnTotal").is(":visible")==false)
{
alert('隐藏');
}
else
{
alert('显示');
}