What I want:
So I have a textarea.
I write Hello World into the the textarea.
I want to get the Hello World's Height in Javascript.
What I have tried yet:
element = document.getElementById('textarea');
var textHeight = element.innerHTML.offsetHeight;
or this:
var textHeight = element.value.offsetHeight;
But these are not working.