Nasir Nasir - 3 months ago 11
Javascript Question

How do I check if the height of a div is greater than 700px, using Jquery?

I was wondering, how I check if the height of a div is greater than 700px, using Jquery?

Any help would greatly be appreciated. Thanks

Answer
if ($('#mydiv').height() > 700) {
    // Greater than 700px in height
}
Comments