Vote count:
0
I inherited a project where a page is loaded, then code attached to that page fills in a div with dynamically generated html - it basically fills an existing div with a html string.
This string contains links to images, etc.
I want to tell when all the images, etc have loaded- I cannot seem to get any jQuery standard checks to work - ie I have tried attaching $(window).load() after the dynamic stuff has been inserted.
I am wondering if I should write $(window).load() dynamically as well, or if there is any other method- ie $("#thediv").load (doesn't seem to work. I cannot query all the new html for image tags, etc- too much stuff is being put in.
Thanks.
asked 23 secs ago
div is filled dynamically with html after main page loads- how to determine it has been loaded
Aucun commentaire:
Enregistrer un commentaire