title: Trig an click event out of an iframe with jquery
body: <p>I have an iframe in my site and want to trig a click event outside of the iframe.
  The iframe is loaded as a lightbox and there is a form in the iframe and i want to close the lightbox at submit.</p>
  
  <p>I use this code but the click event does not work. When I run the same code in the firebug the lightbox close successfully, but here I get no result.</p>
  
  <pre><code>$('iframe', parent.document)
      .parent('div#pp_full_res .pp_pic_holder')
      .siblings('div.pp_details')
      .find('a.pp_close')
      .click();
  </code></pre>