• Got a Tipila, google, windows live or facebook account ?

This is a way to submit the value of a button with jQuery to an $.Ajax function. You put this is the jQuery(document).ready(function($).

var form = jQuery('#myform');

var data = form.serialize();

// add the button to the form data
var btn = jQuery('button[name=mybuttonname]').attr('value');
data += '&order='+ btn;

var ajax = jQuery.ajax({
         url: url,
         type: 'POST',
         data: data,
         statusCode: {
              404: function() {
                  alert("page not found");
... rest of your code ...
Login to Tipila