In C if I wanted to do this I'd use a gets or scanf statement. Is there an equivelent in JS?
I have a loop, and within the cycle I want input from the user. I don't want to use a prompt. I'd prefer it to be mouse driven if possible.
Ideally, I'd like it to perform the actions within the loop, wait for the user to choose one of two options (represented by buttons) and repeat the loop.
Possible? All I know how to do are prompts. As always, you time and help is appreciated.
I have a loop, and within the cycle I want input from the user. I don't want to use a prompt. I'd prefer it to be mouse driven if possible.
Ideally, I'd like it to perform the actions within the loop, wait for the user to choose one of two options (represented by buttons) and repeat the loop.
Possible? All I know how to do are prompts. As always, you time and help is appreciated.