Examveda
Examveda

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.

Join The Discussion

Related Questions on Server Side and Client Side Scripting