用js控制css样式加 !important 加不上的解决方法

$("#test").css("cssText","height:300px !important");

$("#test").css("cssText","height:300px !important;width:300px !important");

posted @ 2016-05-30 18:16  施主放过小僧吧  阅读(1827)  评论(0)    收藏  举报