title: Jquery click trigger on Success or Complete
body: <p>I am trying to get another function that is on submit button ie. <strong>class="sucessClass"</strong> to be executed on success or complete. Here are my codes :</p>
  
  <pre>
  $(document).ready(function() {
  
  $("#send").on("click", function(){
  
      var name=$("#name").val
      var email=$("#email").val   
      var message=$("#message").val
      var dataString="name=" + name + "&email=" + email + "&message=" message;
  
          $.ajax({
          type: "POST",
          url: "proData.php",
          data: dataStringxx,
          success: function(html){
  
              |=== sucess function ===|
  
          }
           else{
  
          }
  }
  });
  
  
      
      Name :
      Email : 
      Message : 
      Send
      
  </pre>