if( document.getElementById("div").css("display")==='none')
if
( document.getElementById(
"div"
).css(
"display"
)===
'none'
)
'block'
$(
"#div"
).is(
":hidden"
);
// 判断是否隐藏
":visible"