title: iFrame nested in iFrame with same ID
body: <p>I'm using the frameElement.id JavaScript property to make some changes to the page when nested in a particular iFrame.</p>
  
  <p>There is a case where I have an iFrame with that ID nested in an iFrame with that ID. So it looks like:</p>
  
  <hr>
  
  <blockquote>
    <p><strong>Main Page:</strong></p>
  </blockquote>
  
  <pre><code>&lt;body&gt;
      &lt;iframe src="url.htm" id="show_body_only"&gt;&lt;/iframe&gt;
  &lt;/body&gt;
  </code></pre>
  
  <hr>
  
  <blockquote>
    <p><strong>url.htm:</strong></p>
  </blockquote>
  
  <pre><code>&lt;body&gt;
      &lt;iframe src="url2.htm" id="show_body_only"&gt;&lt;/iframe&gt;
  &lt;/body&gt;
  </code></pre>
  
  <hr>
  
  <p>Just wondering if this is semantically correct.</p>
  
  <p><em>Please do not berate for all the iFrames, I had little choice.</em></p>