removeAttr('style')会把所有样式都删掉,不能删除单个'display'样式。 用一个.hide的类,然后toggleClass('hide'),我认为不好用,因为.css加的是行内 ...
確定! 回上一頁