I have to set the height of the iframe based on the html content height. I am not able to find the exact height of the html content. i tried
alert($(document).height());
it is giving me 6214 and $(windows).height()
just gives the height of viewpoint. Some of my pages are very long with scroll bar and some page doesnot have scroll bar. I want to get the exact height of the pages with or without scrollers so that i can set to the iframe. Please help me in this issue .
Thanks