I want to get radio button values and send them through AJAX to PHP.
My AJAX is running but is currently inserting a 0
in each row, so it\'s not picking
Try this use serialize
function check serialize here
$("#save_privacy").submit(function(){
var serialise = $("#save_privacy").serialize();
$.ajax({
url:'edit_check.php',
type:'POST',
data:serialise,
beforeSend: function (){
$(".privacy_info") .html("");
},
success:function(data){
$(".privacy_info") .html(data);
}
});
return false;
});