Easy Tutorial
❮ Misc Deferred State Event Mousedown ❯

jQuery innerHeight() Method

jQuery HTML/CSS Methods

Example

Return the inner height of a <div> element:

$("button").click(function(){
    alert($("div").innerHeight());
});

Definition and Usage

The innerHeight() method returns

As shown in the image below, this method includes padding but does not include border and margin.


Related Methods:


Syntax


More Examples

Display Dimensions Using Related Methods


jQuery HTML/CSS Methods

❮ Misc Deferred State Event Mousedown ❯