title: Get iframe contents with a jquery selector
body: <p>Is there anyway to access an iframe's contents via a selector?  Something like this:</p>
  
  <pre><code>$("iframe::contents .my-foo")
  </code></pre>
  
  <p>I'm constantly accessing an iframe's contents for a project I'm currently working on and <code>$("iframe").contents().find(".my-foo")</code> is becoming a bit tedious to type out.</p>
  
  <p>If this feature doesn't exist in jquery out of the box, is there a plugin that provides this functionality?  If not how could I write such a plugin?</p>