$(document).ready and window.onload() difference - jQuery Forum

$(document).ready and window.onload() difference - jQuery Forum

瀏覽:1087
日期:2024-07-10
You can use the document.ready event if you want to intervene "early" in the rendering process, without waiting for the images to load. If you need the images (or any other "content") ready before your script "does something", you need to wait until windo...看更多