[jQuery] How can I check what button was clicked
Hi,
For example I have
<form method="post">
<input type="submit" name="edit_1" id="edit_1" value="Edit_1">
<br />
<input type="submit" name="edit_2" id="edit_2" value="Edit_2">
<br />
<input type="submit" name="edit_3" id="edit_3" value="Edit_3">
<br />
<input type="submit" name="edit_4" id="edit_4" value="Edit_4">
<br />
</form>
So how can I know that Edit_3 was clicked or other?