Multiple Choice
Which of the following syntaxes displays a dialog box, causing the user to enter input text?
A) alert(text[,defaultInput])
B) confirm(text[,defaultInput])
C) prompt( text [, defaultInput ])
D) print(text[,defaultInput])
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Identify the correct charCode values for the
Q2: The evt.eventPhase returns the object that is
Q3: Which of the following event object methods
Q5: Identify the event handler that does not
Q6: Which of the following keyboard event properties
Q7: Which of the following JavaScript expressions is
Q8: The mouseout event indicates the movement of
Q9: The evt.pageY property returns the vertical coordinate
Q10: The event property evt.key returns the text
Q11: William wants to create a dialog box