After making an AJAX request to load HTML, it includes img
tags within it.
I am in need of a way to detect when these images have finished loading so that I can adjust the container size accordingly.
Since I do not know how many images will be present in the result, I cannot solely rely on checking the .complete
value.
Any suggestions on how to approach this challenge?