Official way to ask jQuery wait for all images to load before executing something

前端 未结 10 2490
攒了一身酷
攒了一身酷 2020-11-22 00:04

In jQuery when you do this:

$(function() {
   alert(\"DOM is loaded, but images not necessarily all loaded\");
});

It waits for the DOM to

10条回答
提交回复
热议问题