I know that using $(window).load() the code executes after everything’s loaded. But it doesn’t seem to work when load() is called from a page loaded through Ajax.
That is: a click on a certain link in my page loads a page via Ajax, and it is in that page that I want to display images and execute jQuery code after they’re loaded.
How to do that ?
If you’re using jQuery the ready handler is used to execute after the dom is ready. Here is the link to the jQuery api: http://api.jquery.com/ready/