Can you list the difference between onload() and $(document).ready(function(){..}) functions in the using jQuery?
onload()
$(document).ready(function(){..})
Document.ready() function triggers as soon as HTML DOM loaded. But the onload() function will trigger after HTML DOM, all the body content like images loaded.