Multiple Choice
Case-Based Critical Thinking Questions Case 11-5 Ashton has created a website for his company using JavaScript. He wants to add dialog boxes to the website to display messages and allow the user to input text. Ashton wants to create a dialog box for his website that asks the user to select OK or Cancel when he or she decides to leave the website. Which of the following commands should Ashton use to do this?
A) alert(text)
B) prompt( text [, defaultInput ])
C) confirm(text)
D) print(text)
Correct Answer:

Verified
Correct Answer:
Verified
Q48: The event object contains properties and methods
Q49: Named functions are more concise and easier
Q50: Identify the letter of the choice that
Q51: Identify the letter of the choice that
Q52: Which of the following keyboard event properties
Q54: Case-Based Critical Thinking Questions Case 11-2 Matt
Q55: Identify the syntax to remove an event
Q56: Identify the sequence of the occurrence of
Q57: Which of following codes of an event
Q58: Which of the following is a true