I have a div with this class :
.news{
width:710px;
float:left;
border-bottom:1px #000000 solid;
font-weight:bold;
display:none;
}
我想用一些jQuery方法删除这个显示:无;(因此div将显示)然后再次添加(因此div将显示阴影).
How can I do it? Cheers
I have a div with this class :
.news{
width:710px;
float:left;
border-bottom:1px #000000 solid;
font-weight:bold;
display:none;
}
我想用一些jQuery方法删除这个显示:无;(因此div将显示)然后再次添加(因此div将显示阴影).
How can I do it? Cheers
隐藏div
$('.news').hide();
或
$('.news').css('display','none');
向div
人展示:
$('.news').show();
或
$('.news').css('display','block');