I am trying to determine the height of a specific div using Javascript.
Here is the script I have written:
function getMainDivHeight() {
var num = document.getElementById('up_container').style.height;
return num;
}
However, this script returns auto
instead of the actual height of the div.
I need to be able to retrieve the height of the div after it has been updated.
Any help would be greatly appreciated!