dyhao

JQuery动态修改样式

SetStyle();
function SetStyle()
{
    $(".toolbar").remove();
    $(".placeholder").remove();
    //一个样式对象
    var cssVal={
        color:"red",
        height: "500px",
        margin: "10px",
        padding: "1px 5px"    
    };
    $("td").css(cssVal);
}

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-30
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2022-01-24
  • 2022-12-23
  • 2022-01-22
相关资源
相似解决方案