G
geotso
Hi.
I'm looking for a javascript for the following scenario:
The visitor clicks a button and a Prompt box appears, where:
1. He clicks the Cancel button, typing nothing and a new page (null.html)
opens. Or,
2. He gives a wrong answer and an Alert pops-up, with "This is not the right
answer!" in it. So, he clicks Alert's OK button and the Prompt box re-opens
automatically. However, after three wrong answers a new page (sorry.html)
opens. Or,
3. When he gives the correct answer a new page (correct.html) opens.
Can someone help me please? Or am I asking too much?
I'm looking for a javascript for the following scenario:
The visitor clicks a button and a Prompt box appears, where:
1. He clicks the Cancel button, typing nothing and a new page (null.html)
opens. Or,
2. He gives a wrong answer and an Alert pops-up, with "This is not the right
answer!" in it. So, he clicks Alert's OK button and the Prompt box re-opens
automatically. However, after three wrong answers a new page (sorry.html)
opens. Or,
3. When he gives the correct answer a new page (correct.html) opens.
Can someone help me please? Or am I asking too much?