2
Answers

When do we use Document.Ready over Onload Function or may be

Photo of Vaibhav Singh

Vaibhav Singh

6y
480
1

We know what Document.Ready does and what Onload Function does.
But If an Interviewer asks for a scenario to sue Document.ready over Onload Function or vice versa.
What would be the scenario using which I can explain the Interviewer/

Answers (2)