document.ready occurs when the document itself is done loading, window.load happens when all the assets are loaded.
solved What are the differencee between document.load and window.ready in jQuery [duplicate]
document.ready occurs when the document itself is done loading, window.load happens when all the assets are loaded.
solved What are the differencee between document.load and window.ready in jQuery [duplicate]