Hi,
Try this function in your js.
function setIframeHeight(iframeName, IsCallFromIFrame) {
if (IsCallFromIFrame) {
iframeEl = parent.document.getElementById(iframeName);
}
else {
iframeEl = document.getElementById ? document.getElementById(iframeName) : document.all ? document.all[iframeName] : null;
}
if (iframeEl) {
iframeEl.style.height = $(document).height() + 10 + "px";
return;
}
}
Regards,
Anand