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


  本文标签:jquery,标签,显示隐藏

复制代码 代码如下:

if($(".spnTotal").is(":visible")==false)
{
alert(隐藏);
}
else
{
alert(显示);
}