jQuery or [removed] Determine when image finished loading

后端 未结 7 953
不思量自难忘°
不思量自难忘° 2020-12-05 10:15

How can I detect when an image has finished loading be it from the server or the browser cache? I want to load various images in the same tag and d

7条回答
  •  伪装坚强ぢ
    2020-12-05 11:15

    For a more thorough image load detection, including images loaded from cache, try this: https://github.com/paulirish/jquery.imgloaded

提交回复
热议问题