I\'m using ajaxSubmit plugin to send Ajax forms, but for some reason this plugin doesn\'t send names/values of input[type=image]\'s. So now I\'m catching the su
input[type=image]
$(document).ready(function() { var clickedVar = null; $('#form :submit').focus(function() { clickedVar = $(this).attr("name"); alert(clickedVar); }); });