title: Syntax for changing FancyBox close button into submit button
body: <p>What is the syntax for adding a helper function to FancyBox’s <a href="http://fancyapps.com/fancybox/" rel="nofollow" title="FancyApps2">FancyApps2</a> <code>close</code> button that would turn it into a <code>submit</code> button?</p>
  
  <p>I need to add the following:</p>
  
  <pre><code>input type="submit" 
  name="whereto" 
  value="" 
  </code></pre>
  
  <p>Current FancyBox Function</p>
  
  <pre><code>$(function () {
    $(".fancybox_iframe").fancybox({
      type: 'iframe',
      padding: 0,
      scrolling: 'no',
      width: 840,
      minHeight: 150,
      height: 615,
      closeBtn: true,
      helpers: { overlay: { closeClick: false, opacity: .5} },
      afterShow: function () { $("a.fancybox-close").attr("title", null); },
      afterClose: function () {
          parent.close_field('notice');
          parent.closeiframe_redirect('index.php');
      }
    });
  });
  </code></pre>