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/
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Thuyavan GanesanRank #1,328 · 1.3K reputationPosted Dec 9, 2018, 4:21 PM EST
Sanwar RanwaRank #23 · 44.7K reputationPosted Dec 9, 2018, 6:18 PM EST