jQuery Tutorial
jQuery innerHeight() Method With Syntax and Example
Understanding innerHeight method in jQuery
The innerHeight()
method returns the FIRST matched element's inner height.
This method includes padding but not border or margin, as shown in the image below.
Syntax of innerHeight method in jQuery
$(selector).innerHeight()
Example of jQuery innerHeight method
The inner height of a div> element is returned:
$("button").click(function(){
alert($("div").innerHeight());
});