Interviewer And Interviewee Guide

JQuery Developer Interview Question:

Can you please explain the difference between onload() and document.ready() function used in jQuery?

Submitted by: Administrator
We can add more than one document.ready() function in a page.
we can have only one onload function.
Document.ready() function is called as soon as DOM is loaded.
body.onload() function is called when everything (DOM, images)gets loaded on the page.
Submitted by:

Read Online JQuery Developer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.