i have the following
Code:
<script type="text/javascript">
	$(document).ready(function() {
    $("button").click(function(event) {
        alert(event.target.id);
});
});
	  </script>
This tells me the id of the button that has been pressed.

how would i add a $post request to index.php?id= with the value of the id?