jQuery changing style of HTML element

后端 未结 6 1329
星月不相逢
星月不相逢 2020-12-07 19:23

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'});
    

提交回复
热议问题