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



Contact US

Email:[email protected]

jQuery innerHeight()
10/30