Does window.onlaod
include image load? or I must use another event for it?
I want use ajax call to get HTML document which contains images, but I want show this document when all images are loaded.
Does window.onlaod
include image load? or I must use another event for it?
I want use ajax call to get HTML document which contains images, but I want show this document when all images are loaded.
it does include all webpage's resource's load - more information here: https://developer.mozilla.org/en/docs/DOM/window.onload
Yep, in short it waits for whole visual content to come together, it will trigger after the completion of the load of all the images, all the frames and their contents.