Javatpoint Logo

91-9990449935

 0120-4256464

jQuery innerHeight()

The jQuery innerHeight () method is used to return the inner height of first matched element. It includes padding but not border and margin.

In the above image, you can see that innerHeight () method includes padding but not border and margin.

Syntax:

Example of jQuery innerHeight() method

Let's take an example to demonstrate the effect of jQuery innerHeight() method.

Test it Now

jQuery innerHeight() example 2

Let's take an example to demonstrate how to change the inner height of each div.

Test it Now