How do I check if the height of a div is greater than 700px, using Jquery?
alert($("#theDiv").height() > 700);
Reference: http://api.jquery.com/height/
if ($('#mydiv').height() > 700) {
// Greater than 700px in height
}
alert($("#theDiv").height() > 700);
Reference: http://api.jquery.com/height/
if ($('#mydiv').height() > 700) {
// Greater than 700px in height
}