I have a form and want to be able to submit it using 1 of 2 different javascript links. Now these links work using the onclick handler:

However, i want the script that deals with the form submission to be able to know which link has submitted the form. So like if you used an <input="submit"> type button you would get a value, can this be done for an onclick link?