Hi All,
I'm loading a DIV element over an IFRAME, the DIV element contains a table in which I'm dynamically creating table rows. The DIV element height icreases on dynamic row creation, simultaneously the IFRAME height has to be increased to the DIV element height. I tried the following code,
Code:
document.getElementById('testIframe').style.height = document.getElementById('testDiv').offsetHeight;
it works well in IE & Opera but not in Mozilla & FireFox.
How to increase IFRAME height dynamically as I said above in Mozilla & FireFox.