title: using document.getElementsByTagName on a page with iFrames - elements inside the iframe are not being picked up
body: <p>newer to javascript. On my page (asp.net application, vb as serverside language), I am using document.getElementsByTagName("img") to get all img tagged html items. I am noticing one in particular does not show up in this list (I was able to put them into an array and access the items individually - code below). This item is is contained inside an iframe (the iframe doesn't use SRC or anything else, just defined then the html inside it is right there in the source, doesnt load from another page - this is automatically generated by a crystal reports viewer generated at runtime, which is why I am unable to copy to show this). Is the getElementsByTagName not picking up this image because it is inside an iframe? I need to be able to access this img's src (the image is another auto generated item from the crystal report viewer). If the reason why this is not picked up is due to the iframe, is there any way to either run this on items inside the iframe? Or just get the "innerhtml" type property for everything inside the iframe so that the img src can be accessed. Thank you for your help.</p>
  
  <pre><code>var IMGmatches = [];
          var IMGelems = document.getElementsByTagName("img");
          for (var j = 0; j &lt; IMGelems.length; j++) {
              IMGmatches.push(IMGelems[j]);
          }
  </code></pre>