title: send data by post method without control back to page using jquery
body: <p>I am sending json string using jquery post method to other page but it return control back to index page what can i do to send data with out control back to main page</p>
  
  <p>this is what i am doing </p>
  
  <pre><code>$('#button').click(function(){
       $.post("generator.php",
        {
            jsondata: JSON.stringify(objarray)
         },
         function(data,status){
          //alert("Data: " + data + "\nStatus: " + status);
        });
  });
  </code></pre>
  
  <p>is this possible to send data by jquery post method without getting control back because i never want to show anything but move to next page from generator.php</p>