title: SweetAlert: How to send a POST request after clicking OK?
body: <p>I want to you the  - <a href="http://tristanedwards.me/sweetalert" rel="nofollow">SweetAlert</a> for my Website. Now I need to configuration the SweetAlert with this code, so that on klick the "OK" button, it will send via POST formaction="/link/link" post="test=1" </p>
  
  <pre><code>swal({
      title: "Are you sure?",
      text: "You will not be able to recover this imaginary file!",
      type: " warning ",
      showCancelButton: true,
      confirmButtonColor: "#DD6B55",
      confirmButtonText: "Yes, delete it!",
      cancelButtonText: " No, cancel plx!",
      closeOnConfirm: false,
      closeOnCancel: false
  }, function(isConfirm) {
      if (isConfirm) {
          swal("Deleted!", "Your imaginary file has been deleted.", "success");
      } else {
          swal("Cancelled", "Your imaginary file is safe: ) ", " error ");
      }
  });
  </code></pre>
  
  <p>I want to ask you, how can I build it in.</p>