What is the code to start displaying the time when document loads?
A. onload = displayTime;
B. window. = displayTime;
C. window.onload = displayTime;
D. window.onload = start;
Answer: Option C
Solution(By Examveda Team)
The above code starts displaying the time when the document loads.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