Here's a slowball for you. I have a form which has two buttons which serve to submit the form:
<FORM name="frmModify" action="register.asp" method="post" id="frmModify">
<INPUT type="image" name="imageField" src="one.gif" onClick="submit();">
<INPUT type="image" name="update" src="two.gif" onClick="submit();">
</FORM>
At the end of register.asp, I have a Response.Redirect back to this form. My question is this: What's the best way to get register.asp to return to the button that called it instead of just going to the top of the form? Somehow I'll have to let register.asp know which button called it.
Thanks for your help.
~ Gary
<FORM name="frmModify" action="register.asp" method="post" id="frmModify">
<INPUT type="image" name="imageField" src="one.gif" onClick="submit();">
<INPUT type="image" name="update" src="two.gif" onClick="submit();">
</FORM>
At the end of register.asp, I have a Response.Redirect back to this form. My question is this: What's the best way to get register.asp to return to the button that called it instead of just going to the top of the form? Somehow I'll have to let register.asp know which button called it.
Thanks for your help.
~ Gary