Which Window object method is used to display message in a dialog box?
A. alert()
B. prompt()
C. message()
D. none of the mentioned
Answer: Option A
Solution(By Examveda Team)
The Window object also defines methods like alert(), which displays a message in a dialog box.Related Questions on Server Side and Client Side Scripting
What are the events generated by the Node objects called?
A. generators
B. emitters
C. dispatchers
D. highevents
What is the function used to deregister event handler ‘f’?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
What is the function used to remove all handlers for name events?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
Join The Discussion