Ok let me explain this again.
I have a webpage. It contains a number of buttons which goes to a new page when clicked.
MAIN PAGE:
BUTTON 1
BUTTON 2
BUTTON 3
When i click on BUTTON 1 it loads up and new page, lets call that page 2, based on the SUBMIT.
So now im page 2 because i clicked on BUTTON 1
PAGE 2:
I want to stay on page 2 until i click on the EXIT button. This page also have a SUBMIT button. The problem is, if i click on the SUBMIT button it takes me back to the MAIN PAGE, but im not ready to exit page 2 yet. I want to stay on PAGE 2 until im ready to exit and the only way I can exit is if i click on EXIT. If i click on SUBMIT to do something, on page 2, i dont want to be kicked back to the MAIN PAGE.
So my question is how do i stay on the page until im ready to exist out of it? Is there a while statement that i can use that says something like.
do while the exist button is not clicked?
thank you.