I am trying to add !important in the css attribute using jQuery like
$("tabs").css('height','650px;!important');
但是重要是没有效果的.如何包含!在jquery中重要吗?
I am trying to add !important in the css attribute using jQuery like
$("tabs").css('height','650px;!important');
但是重要是没有效果的.如何包含!在jquery中重要吗?
显然,在jQuery中可以做到这一点:
$("#tabs").css("cssText", "height: 650px !important;");