title: Resize iframe to content with Jquery
body: <p>I'm trying to resize an iframe dynamicly to fit its content. To do so I have a piece of code:</p>
  
  <pre><code>$("#IframeId").height($("#IframeId").contents().find("html").height());​
  </code></pre>
  
  <p>It doesnt work. Is it because of cross-domain issue? How do I get it to fit? Please take a look at Fiddle: <a href="http://jsfiddle.net/Eyshx/1/" rel="noreferrer">JsFiddle</a></p>
  
  <p>ps I have set the html and body of the link <code>height:100%;</code></p>