I have the following line of code:
document.getElementById("apDiv1").style.height = document.body.scrollHeight + 'px';
This works in IE, Safari, Chrome but not in FF. In FF it returns just the visible portion of the page, not the total height, including the scrolling portion.
I see all sorts of people having this issue and some saying that it is related to the content on the page, but I can't seem to figure out what to fix to fix it. Is there a better way to get the scrollHeight that isn't impacted?
If not, I can post a link up, there is a ton of code so it will not be too straight forward.