title: iframe not working in ie8
body: <p>The <code>iframe</code> tag in this script is not working in IE-Version 8 but it is working in Firefox and Chrome . Is there any replacement for the <code>iframe</code> that works in all browsers?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      document.body.onload = function () { onclick(); };
  
      function onclick() {
        $("#chartdiv").html('&lt;iframe id="Reloader" style="width: 680px; height: 500px;margin-left:250px;" frameborder="0" marginwidth="1" src="charts/deptwise.htm"&gt;&lt;/iframe&gt;');
      }; 
  
  &lt;/script&gt;
  </code></pre>