title: pass data($post) to php file using javascript without callback
body: <p>I need to pass data from HTML page to PHP page But without data callback ....</p>
  
  <p>i'm used two method but One of them did not succeed</p>
  
  <p>1)</p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: 'phpexample.php',
      data: {voteid: x },
      success: function(data)
      {
          alert("success! X:" + data);
      }
  });
  </code></pre>
  
  <p>2)  </p>
  
  <pre><code>$.post("getClassStudent.php",
  {
  },
  function(data){
      $("#div_id.php").html(data);
  
      }
  );
  </code></pre>