if($("#elem_id").is(":hidden"))//该片段来自于http://www.codesnippet.cn/detail/210120131788.html
来源: http://www.codesnippet.cn/detail/210120131788.html