title: Jquery: Unable find elements inside iframe
body: <p>i have page using iframe:</p>
  
  <p><strong>page a.html</strong>:</p>
  
  <pre><code>&lt;div id="results"&gt;
    &lt;iframe src="../b.aspx"&gt;&lt;/iframe&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>now i want to get elements in iframe, so i try:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          jQuery(document).ready(function($) {
              var tmp = $('#results iframe').contents().find('html').html();
              alert(tmp);
          });
  &lt;/script&gt;
  </code></pre>
  
  <p>but result return is: <code>&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;</code>, don't have content in head or body. i need a help</p>