Accessing data from iframe
<p>Suppose we have the following structure :</p>

<pre><code>  &lt;div id='main'&gt;
   &lt;div id="1"&gt; .. &lt;/div&gt;
   &lt;div id="2"&gt;
     &lt;iframe id="ifr" src="some"&gt;&lt;/iframe&gt;
   &lt;/div&gt;
  &lt;/div&gt;
</code></pre>

<p>How can we access div#1 contents from inside the iframe#ifr?</p>
