OnClick=DoItForMe(this.form,1) for the delete button or
OnClick=DoItForMe(this.form,2) for the Update one
then in the <HEAD> place:
<SCRIPT LANGUAGE="JavaScript">
function DoItForMe(form,nbr)
var myform = form
if (nbr == 1) {
acstr = "Delete_Partner.asp"
}
else {
acstr = "Update_Partner.asp"
}
// [i] Insert any other stuff here to set the passed
// parameters ( like ID ) , etc
// like acstr = acstr + "?ID=
[/i]
// now, once the action is defined set the form to do it.
form.action.value = acstr
// do it
form.submit()
// all done
</SCRIPT>
</HEAD>