Setting width to iframe based on browser using jquery not worked in IE
<p>I am using the following code for setting height and width to a div and iframe based on browser window height and width</p>

<pre><code>    var newheight = $(document).height();
    var newH = parseInt(newheight) - 170;
    var newHI = parseInt(newheight) - 215;
    var width = $(document).width();
    var newwidth = $('#LeftPane').width();
    var newW = parseInt(width) - (parseInt(newwidth) + 50);
    $('#LeftPane').height(newH);
    $("#ifrforms").height(newHI);
    $("#ifrforms").width(newW);
</code></pre>

<p>But this code is not working in IE?
It troubles me... if any body knows the solution please help me...</p>
