title: jquery:2 ways of accessing top document from iframe?
body: <p>I have a main document with an IFRAME tag.
  From inside de IFRAME I'm accesing a DIV ID="results" located in the main document.</p>
  
  <p>I can succesfully reach the DIV this way:</p>
  
  <p>var message = $(<strong>document</strong>, parent.window.document).contents().find('#results').html();</p>
  
  <p>BUT firstly I tried next one, but didn't work:</p>
  
  <p>var message = $(parent.window.document).contents().find('#results').html();</p>
  
  <p>Why the last one isn't working?</p>