S
shank
I've got 2 problems.
Problem #1: I have 2 buttons on a form.
If user clicks on ButtonA, the form gets submitted to PageA.
If user clicks on ButtonB, the form gets submitted to PageB.
One forum promotes using the OnClick event to direct to the correct page.
Another forum says OnClick is not wise because a user could have scripts
disabled.
What is the best way?
Problem #2: What is the proper syntax for the below statement?
I'm having problems with the OnClick portion.
Response.write "<input type='submit' name='Submit2' value='I WANT TO MAIL A
CHECK'
onclick='document.frmReview.action='check.asp';document.frmReview.submit()'>
"
thanks!
Problem #1: I have 2 buttons on a form.
If user clicks on ButtonA, the form gets submitted to PageA.
If user clicks on ButtonB, the form gets submitted to PageB.
One forum promotes using the OnClick event to direct to the correct page.
Another forum says OnClick is not wise because a user could have scripts
disabled.
What is the best way?
Problem #2: What is the proper syntax for the below statement?
I'm having problems with the OnClick portion.
Response.write "<input type='submit' name='Submit2' value='I WANT TO MAIL A
CHECK'
onclick='document.frmReview.action='check.asp';document.frmReview.submit()'>
"
thanks!