Hi All,
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
Hi All,
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
alert($("#theDiv").height() > 700);
Reference: http://api.jquery.com/height/
if ($('#mydiv').height() > 700) {
// Greater than 700px in height
}