I have a list on HTML
And the winner isn\'t...&l 6条回答 抹茶落季 (楼主) 2020-12-07 20:10 changing style with jquery Try This $('#selector_id').css('display','none'); You can also change multiple attribute in a single query Try This $('#replace-div').css({'padding-top': '5px' , 'margin' : '10px'}); 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
changing style with jquery
Try This
$('#selector_id').css('display','none');
You can also change multiple attribute in a single query
$('#replace-div').css({'padding-top': '5px' , 'margin' : '10px'});