Is there a way to use an "if" statement and see if a divs height is larger or smaller than a specific amount of px in javascript?
For example, can you do something like this?:
if (document.getElementById('mydiv').style.height < 50px) {}
I've tried to use 50px, 50, "50px", "50 px"....