js
var isHidden= $("#test").is(":hidden");//是否隱藏 true false var isVisible= $("#test").is(":visible");//是否可見
html_div顯示與隱藏相關內容