What is the code to start displaying the time when document loads?
What is the code to start displaying the time when document loads? Correct Answer window.onload = displayTime;
The above code starts displaying the time when the document loads.What is the code to start displaying the time when document loads? Correct Answer window.onload = displayTime;
The above code starts displaying the time when the document loads.