codeGK
Code it ALL
jQuery height() - CodeGK

♦ jQuery height()

♣ Example2: jQuery height()

height() method returns the height of the HTML element selected.
Note that padding, margin and border is not included for calculation of the height.
Below is the representation of jQuery height() Syntax.
Basic Syntax
$(selector).height()
Syntax Explanation:
selector : HTML element selector
height() : method for returning height
In this example, jQuery height() method is illustrated.
Example
Input:
Output:
Dimensions