How can I add loading text/image to images that are still loading with jQuery?

后端 未结 3 1229
南旧
南旧 2021-01-15 19:56

I need to apply this to images that are selected by jQuery selector for example $(\"img\"), should apply this to all images in page.

3条回答
  •  一生所求
    2021-01-15 20:33

    There is a tutorial at

    http://jqueryfordesigners.com/image-loading/

    that you would want to supplement with an each() loop in $("img")

提交回复
热议问题