Accessing data from iframe
Suppose we have the following structure :

      <div id='main'>
       <div id="1"> .. </div>
       <div id="2">
         <iframe id="ifr" src="some"></iframe>
       </div>
      </div>

How can we access div#1 contents from inside the iframe#ifr?
Accessing data from iframe
===

Suppose we have the following structure :

      <div id='main'>
       <div id="1"> .. </div>
       <div id="2">
         <iframe id="ifr" src="some"></iframe>
       </div>
      </div>

How can we access div#1 contents from inside the iframe#ifr?