Results 1 to 5 of 5
Thread: two buttons in a form
May 19, 2007, 15:02 #1
- Join Date
- Apr 2003
- daejeon, South Korea
- 1 Post(s)
- 0 Thread(s)
two buttons in a formCode:
There are two buttons, i.e, preview and submit at http://dot.kr/test/22.htm
If you click the button "preview," it will go to preview page.
If you click the button "submit," an alert with confirm button and cancell button will pop.
if you click the confirm button, it will go to action.htm.
if you click the cancell button, it will stay there.
I have a problem with the code above.
If you click the button "preview" for the first time, it will go to "preview.htm."
if you click the button "preview" after you click the button "cancell" in the alert, it goes to action.htm instead of preview.htm although you click the button "preview."
How can I make it to always go to preview.htm when you click the button "preview?"