Hi. I was wondering if there was a command that allows you to return to the beginning of the script.
Let's say
/pseudocode/
You ask for pass word
if password is correct --> do nothing or just display a random message
else
if password is incorrect or no password is entered --> return to the beginning of the script to ask for the password again
/pseudocode/
I wanna know if there is a way to do this without having to ask for the password and writing the if else statements again and again.
Oh and another question. Is there a way to call a html file while in javascript? I know it is possible to call javascript file while in html but I wasn't sure about the other way around. thanks in advanced.