Soft Soft - 2 years ago 86
Javascript Question

How to include !important in jquery

I am trying to add !important in the css attribute using jQuery like


but !important has no effect. How to include !important in jquery?

Answer Source

Apparently it's possible to do this in jQuery:

$("#tabs").css("cssText", "height: 650px !important;");


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download