how to display the image at last after loading all the other contents in a webpage.
I’ve an image on a page which is retrieved from the database when a button is pressed.
I’d like to load entire page first and the image at last after the contents are loaded.
any help?
how to display the image at last after loading all the other contents in
Share
If by load you mean download the various parts of the page and construct the DOM, then:
$(document).ready(function() { $('#theimage').show(); });