While working on a JavaScript project, in your JavaScript application, which function would you use to send messages to users requesting for text input?
Show answerHide answer
Correct answer: (C) Prompt()
Explanation
prompt() shows a dialog box with a text field and returns what the user types. alert() only displays a message.