很简单的一句话,如下即可判断元素是否可视:
$(element).is(":visible"); 支持:visible=false and display:none.
整理自:http://stackoverflow.com/question[……]