title: Submitting form using Fancybox Ajax capabilities within an iFrame
body: <p>I would like to use Fancybox to display a registration form within an iFrame. Then once the user has filled in his/her details. </p>
  
  <p>The details should be processed using the ajax mechanisms within Jquery/Fancybox and the values displayed within the same Fancybox iframe.</p>
  
  <p>How can this be implemented, I have been scratching my head all day and I dont know where Im going wrong.</p>
  
  <p>Below is my code</p>
  
  <pre><code>$("a.interested").fancybox({
                  'width': 400,
                  'height': 400,
                  'enableEscapeButton' : false,
                  'overlayShow' : true,
                  'overlayOpacity' : 0,
                  'hideOnOverlayClick' : false,
                  'type': 'iframe',
                   ajax: {
                             type     : "POST",
                             cache    : false,
                             url      : "/components/profile/buyer/regbuyer1.php",
                             success: function(data) {
                                  $.fancybox(data);
                              }
                          }
              });
  </code></pre>
  
  <p>Some code examples would really help.</p>
  
  <p>Thanx</p>