JQuery Validate: how to check validate completion before ajax submission

JQuery Validate: how to check validate completion before ajax submission

I have the Jquery validate plugin working fine when i click on the submit button normally but when I have added the ajax function to the form submit it's submitting the form even though the user is missing some fields that are required. How do I make sure the ajax is run after the validation is completed? I have tried adding the condition to check if the form is valid but it just breaks the ajax submit:
  1. var ajaxSubmit = function(e) {
  2.                        
  3.                 // fetch where we want to submit the form to
  4. if (!$('#abstract_form').valid()) {
  5. return false;
  6. }
  7. var url = $(e).attr('action');

  8.                 // fetch the data for the form
  9.                 var data = $(e).serializeArray();

  10.                 // setup the ajax request
  11.                 $.ajax({
  12.                     url: url,
  13.                     data: data,
  14.                     //dataType: 'json',                    
  15.                     success: function(result) {
  16.     $('#response').html(result);
  17.                                     $('#submit').attr('disabled','disabled');
  18. },
  19. error: function(){
  20. alert('failure');
  21. }

  22.                 });
  23.                 e.preventDefault();
  24. return false;
  25.             }

Any guidance would be greatly appreciated.