How to get the load event for images in a piece of html content?
I've different html contents and each has some images. If there are any images in html they are loaded when I display an html content in lightbox div.

My problem is that I want to perform some action when all the images in the div have been loaded for any html content. How can I do that in Javascript/JQuery?
How to get the load event for images in a piece of html content?
===

I've different html contents and each has some images. If there are any images in html they are loaded when I display an html content in lightbox div.

My problem is that I want to perform some action when all the images in the div have been loaded for any html content. How can I do that in Javascript/JQuery?