we often use window.onload() in javascript and $document.ready() in jquery and assume that both are same just jquery library wrap up javascript window.onload() and introduce $document.ready() but no there is much difference between them below is the explanation -
Programming Tutorials And Source Code - ASP.NET,C#.NET,MVC,JQuery,JavaScript,SQL Server,Angular,WCF examples