title: How to check if iframe is empty/null/undefined?
body: <p>This doesn't work:</p>
  
  <pre><code>if(document.getElementById("iframe").innerHTML==''){
  </code></pre>
  
  <p>Is there a safe browser reliable way to check an iframe if its empty or not?</p>
  
  <p>Thanks</p>