title: How to expose IFrame's DOM using jQuery?
body: <p>I have a prototype representing a particual IFrame. That prototype have a function called GoToUrl(...) that opens the given url within the IFrame.</p>
  
  <p>My question is: How do I create an "InternalDOM" property and make this property refer to the "window" object (the root DOM object) of the IFrame inside? In such way that: If my IFrame exposes a page which has an object X in it's "window" object I could do:</p>
  
  <pre><code>MyFrameObject.GoToUrl(pageXurl);
  MyFrameObject.InternalDOM.X
  </code></pre>
  
  <p>Any help would be appreciated.</p>
  
  <p>PS: I would accept answers not necessarily related to jQuery but I would prefer a jQuery solution.</p>