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
if ($('#mydiv').height() > 700) {
// Greater than 700px in height
}
alert($("#theDiv").height() > 700);
Reference: http://api.jquery.com/height/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With