I have simple script to check image, but it is not working properly on my ipad with ios 5.1. In image i receive stream of jpg\'s, so load must work on each frame (as in big safa
It is mentioned on the jQuery official website:
Caveats of the load event when used with images
A common challenge developers attempt to solve using the
.load()
shortcut is to execute a function when an image (or collection of images) have completely loaded. There are several known caveats with this that should be noted. These are:
- It doesn't work consistently nor reliably cross-browser
- It doesn't fire correctly in WebKit if the image src is set to the same src as before
- It doesn't correctly bubble up the DOM tree
- Can cease to fire for images that already live in the browser's cache