change height of element javascript code example
Example 1: javascript set div height
document.getElementById("myBtn").style.height = "50px";
Example 2: javascript element height
var intElemOffsetHeight = element.offsetHeight;
document.getElementById("myBtn").style.height = "50px";
var intElemOffsetHeight = element.offsetHeight;