The jQuery outerHeight () method is used to return the outer height of first matched element. This method includes padding and border both.
In the above example, you can see that border and padding both are included in the outerHeight() method.
Parameters of jQuery outerHeight() method
This is an optional parameter.
Example of jQuery outerHeight() method
Let's take an example to demonstrate the effect of jQuery outerHeight() method.Test it Now
jQuery outerHeight() example 2
Let's take an example to demonstrate how to change the inner height of each div.Test it Now
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week