Any ideas on how to get a div's height without using jQuery?
I was searching Stackoverflow for this question and it seems like every answer is pointing to jQuery's
var clientHeight = document.getElementById('myDiv').clientHeight;
var offsetHeight = document.getElementById('myDiv').offsetHeight;
clientHeight includes padding.
offsetHeight includes padding, scrollBar and borders.