I have a poll on my website which displays radio buttons next to each answer. When the user selects an option and submits, im running a a php script via ajax to insert the v
$("#submit_vote").click(function(e){ $.ajax( { type: "POST", url: "ajax_submit_vote.php", data: $('#poll_form').serialize(), success: function( response ) {} }); });
You should then have the POST variable "poll_option" accessible in your PHP script.