Hi,
The Actual height of applet is 600 and I have 4 IFrames in table which calculates the height of the table
In IE-8 the calcHeight(iframe_id) returns a height of "97" but the same code in IE-11 returns the height of "150"
Can anyone tell what is the problem with IE-11?
function calcHeight(iframe_id)
{
var the_height=document.getElementById(iframe_id).contentWindow.document.body.scrollHeight;
document.getElementById(iframe_id).height=the_height;
}
<table width="100%" height="100%" style="table-layout: fixed;" cellpadding="0" cellspacing="0">
<tr>
<td id="container" >
<iframe name="iFrameX" id="iFramePharmacy" src="" width="100%" onload="calcHeight('iFrameX')" allowtransparency="true" frameborder="no" scrolling="no">
</iframe>
</td>
</tr>
... 3 more iframes are defined as above
</table>