jQuery outerHeight() Method
jQuery outerHeight() Method
The outerHeight() method is used to return the outer height of the FIRST matched element. It includes both the element height, padding of its y-axis if present, and border width. If the parameter is set to true, it will also include the margin of its y-axis.
Syntax:-
Its syntax is:- $(selector).outerHeight(includeMargin)
Further Explanation:-
Parameter | Description |
---|---|
includeMargin | Optional. A Boolean value specifying whether or not to include the margin
|