get auto height of element js code example Example: javascript element height var intElemOffsetHeight = element.offsetHeight;