I'm using this code to change the content of an div
mydiv.innerHTML = "html code with text and images";
Is there some events I can use to get a notification when everything is loaded? (no matter if there is no or many images )
I guess I could go through all child elements and addeventlisteners to them, but wish there is some other way.