I'm trying to submit this button form via AJAX. The Button is a picture (a thumbs up or down image). Anyway, I'm trying to submit the form with the jQuery AJAX function, but the button value won't parse through. Here's my code:

$('#likeForm').on('submit', function(e){
   e.preventDefault(); // Prevent default form submit

   var form = $(this);
   var action = form.attr('action');
   var post_data = form.serialize();

       type: 'POST',
       url: action,
       data: post_data,
success: function() {

In the console, I get this:


So it's submitting all values, but the button's. How do I submit the button as well?

P.S I don't think the PHP code is relevant; the form doesn't change because the if/else statements looks for the button's post value. The query should work if the button's value goes through.