The following example will prompt the user with a question: <html> The first argument of the prompt function is the question you want to ask, the second argument is the default awnser. |
|
Web Development > JavaScript >
How to prompt the user for a question and answer?
|