This should be really straight forward.
I\'m checking if a form is being submitted using jquery. The form has multiple submit buttons with various values:
$('input[type="submit"]').click(function() { alert ($(this).val()); }