What is the difference between Element.scrollHeight
and the height returned by the JQuery $(ElementSelector).height()
method.
I have seen this and this and I know that scrollHeight
is the height of content, including the content which overflows outside the viewport. My question is that isn't that the same as the height returned by the height()
method. I wrote this JSFiddle as a test of that.