title: jquery - replace broken image icon while image is loading
body: <p>I have a page that has a list of many <code>&lt;img&gt;</code> tag. So it takes a long time to load all images. Before loading any image, I see the broken image icon. I want to <strong>replace broken image while loading the images.</strong> I tested <a href="https://stackoverflow.com/a/92819/1531130">this answer</a>, but it just worked when a error happens. Is there anyway for doing that with javascript or jquery?</p>