div height and width javascript with id code example
Example 1: javascript set div height
document.getElementById("myBtn").style.height = "50px";
Example 2: javascript set element width
document.getElementById("myElID").style.width = "100px";
document.getElementById("myBtn").style.height = "50px";
document.getElementById("myElID").style.width = "100px";