I have a .submit() event set up for form submission. I also have multiple forms on the page, but just one here for this example. I\'d like to know which submi
.submit()
$("form input[type=submit]").click(function() { $("") .attr('type', 'hidden') .attr('name', $(this).attr('name')) .attr('value', $(this).attr('value')) .appendTo(this) });
add hidden field