I have a form that is of variable size (length) that is populated from a MySQL db. There are 4 fields that make up the information used to create a button (id, button#, nam
Hope this helps:
$('form').submit(function() { $.post("myfile.php", $(this).serialize(), function(response) { console.log(response); }); });