Start learning Ajax (and jQuery), I encounter the issue with post form data, which I could not resolve myself.
First, here is the simple example where I collect data, po
Try this.
$(document).ready(function(){ $("#myButton").click(function() { $.ajax({ cache: false, type: 'POST', url: 'test.php', data: $("#myForm").serialize(), success: function(data){ alert(data); } }); }); });