title: how can i close fancy box it self, after submitting details?
body: <p>I am using registration.php file at in fancy box ifarme class as:</p>
  
  <pre><code>&lt;li&gt;&lt;a class="various" data-fancybox-type="iframe" href="registration.php"&gt;&lt;img src="registration.jpg"/&gt;&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>when I click on registration.jpg a form will be pop-up, after entering details in that, I'll click on submit, if the details submits successfully, the pop-up(fancy box) should close itself, after showing that " your details submitted successfully "</p>
  
  <p>thanks ina advance..</p>