Proper syntax to fadeOut form

Proper syntax to fadeOut form

I need to fadeOut a contact form once it is submitted and am having trouble figuring out the proper syntax in order to include it in the code below.

I just replaced my validation with jQuery's validation function, and the code I was previously using to do this is:
  1. $("#contact ").fadeOut("fast", function ());
The current function to validate and submit the form using jQuery.
  1.  $().ready(function () {
  2.         // validate the comment form when it is submitted
  3.         $("#contact").validate({
  4.             submitHandler: function (form) {
  5.                 jQuery(form).ajaxSubmit({
  6.                     target: "#result"
  7.                 });
  8.             }
  9.         });
  10.     });