Multiple choice

Which of the following dialog boxes in JavaScript is used to get user input to proceed further?

  1. Prompt dialog box

  2. Alert dialog box

  3. Confirm dialog box

  4. Both (1) and (3)

  5. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A prompt dialog box is used if you want the user to input a value before entering a page. When a prompt box pops up, the user will have to click either OK or cancel to proceed after entering an input value.A prompt dialog box is used if you want the user to input a value before entering a page. When a prompt box pops up, the user will have to click either OK or cancel to proceed after entering an input value. A prompt dialog box is used if you want the user to input a value before entering a page. When a prompt box pops up, the user will have to click either OK or cancel to proceed after entering an input value.