title: need an iframe to refresh automatically
body: <p>I have a situation where I need to refresh an iframe about every 30 seconds. I have looked through the forums and tried a few things, to no avail. </p>
  
  <pre><code>&lt;iframe id="Doyle" src="http://www.dot.ca.gov/dist2/rwis/sm_doyle.php" 
  width="375" height="560"&gt;
  &lt;/iframe&gt;
  
  &lt;script&gt;
  window.setInterval("reloadIFrame();", 3000);
  
  function reloadIFrame() {
   document.frames["Doyle"].location.reload();
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>Any suggestions on how to make this work? </p>