alert( $("#dvTest").is(":visible")); //判断元素显示或隐藏状态 转载于:https://www.cnblogs.com/Shas/archive/2013/02/27/2935033.html