Suppose I have this code :
template.find('.dynamic-content').html(
"<img class='immagine-webcam' src='" +
punto.Immagine + "' alt='" + punto.Titolo + "' title='"
+ punto.Titolo + "' />"
);
Well: I’d like to call a function only when this image is totally loaded from server.
Is it possible?
Use the
onloadattribute of theimgtag.