title: How to set serialize data to ajax $.post method
body: <p>I am trying <code>$.post()</code> method for first time, Have seen the documentation over <a href="https://api.jquery.com/jquery.post/" rel="nofollow noreferrer">here</a>, but unable to send any data to my php file. </p>
  
  <p>Code on my js file:-</p>
  
  <pre><code>    submitHandler: function (form) {
      var data = $(form).serialize();
      $.post("test.php", function( data ){
          //console.log(data);
      });
      return false;
  }
  </code></pre>
  
  <p>I know I am doing somthing wrong but can not figure it out. On my php file <code>var_dump($_REQUEST)</code> gives me null array.</p>