jquery如何判断div show的状态

作者:袖梨 2022-06-25

实例如下:

var
temp= $("#test").is(":hidden");//是否隐藏
 
 
var
temp1= $("#test").is(":visible");//是否可见

相关文章

精彩推荐