jquery添加!important样式

$("span.colorFlag").parents("th").css("cssText","background-color:red!important");

 多次!important(坑)

$("#infoContent").css({ "cssText": "overflow:auto !important;height:250px !important" });

 

posted @ 2017-03-14 10:29  小小高  阅读(10054)  评论(0编辑  收藏  举报