How to force set he height of an element using jquery
Posted on 2016-10-02
I am using the following code to set the height of the element in jquery :
$('.cke_contents').css('height', middleHeight - toolbarHeight);
But the issue is there is already a css rule which sets height to some 100px !important because of this important thing my changes to height using .css function are not getting applied. So one way out of this i think is somehow add !important to the .css function ??
Or there is any other alternative way ?