For example,
function fnCheckScroll(){ var iNewHeight = oDiv.scrollHeight; var iscrolTop = oDiv.scrollTop; alert(\"The value of the scrollHei
In Safari 6.0.1 the scrollHeight gives the height of the control and not the total height including content scrolled out of view. So it cannot be used to find the total height required to show without a scroll bar.