I want to apply height
for specific div using jquery but not able to override the \'!important\'
keyword using jquery
.
Here is
First Id is unique identifier, therefore you don't need to search div by it's class name. therefore you can filter div by it's id.
Try following code
first add new Class property below myClass like this
it will override height property of myClass
now just add this class to div
$('#divL3').addClass('testClass');
but making height "0" wont hide content of "divL3". you rather try to hide overflow content or hide entire div by adding css property display:none
hope it will work for you.