title: How do i shut fancybox iframe after a submit
body: <p>I have an iframe on siteB with has a from from siteA when the user on siteB clicks on the submit </p>
  
  <pre><code>&lt;input type="submit" value="Save url" name="commit" method="post" id="url_submit"&gt;
  </code></pre>
  
  <p>I need the lightbox to close</p>
  
  <p>i tried adding </p>
  
  <pre><code>$('#url_submit').click(function(){
    $.fn.fancybox.close();
  });
  </code></pre>
  
  <p>to both sites and nothing and i am sort of confused</p>