JQuery判断一个元素是否显示,隐藏

$("#id").is(':visible');显示为true

$("#id").is(':hidden');隐藏为true

posted @ 2018-07-18 14:53  yyzyyzyyz  阅读(88)  评论(0)    收藏  举报