<script> $.ajax({ type: "POST", url: "index.php", data: {var:'value'}, dataType: 'text', success:function(data){ // Test what is returned from the server alert(data); } }); </script>
<script> $.ajax({ type: "POST", url: "index.php", data: {var:'value'}, dataType: 'text', success:function(data){ // Test what is returned from the server alert(data); } }); </script>