title: How to get the href link from iframe
body: <pre><code>      my html content is in iframe.
          &lt;iframe id="test" name=""src="test.html"&gt;
          .....content from test.html
  
        &lt;/iframe&gt;
  </code></pre>
  
  <p>test.html(in my server) has a link like</p>
  
  <pre><code>         &lt;div id="division"&gt;&lt;a  href="www.google.com"&gt;&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p>jquery</p>
  
  <pre><code>              $(document).ready(function() {
             var value=$("#division").find('a').attr('href');
          alert(value);
                  }
  </code></pre>
  
  <p>question:alert(value) returns undefined</p>