how to overwrite css height set by jquery/javascript?

css, height, javascript, jquery

Solution

`setHeight`, not `$setHeight`. and the `!important` is unneeded.

Problem

I have this: ``` var setHeight = $(this).outerHeight(); // returns e.g. 687 $("#someElement").css({'height': $setHeight+"px !important" }); // I want to override this jquery-set height ``` I'm not sure this is the right way... probably not, since it's not working. Thanks for helping out!

Original source