How to use jQuery live() for img onload event?

后端 未结 3 350
逝去的感伤
逝去的感伤 2021-01-08 00:06

I want to run some code when an image is loaded. Also, I\'d like to do it unobtrusively (not inline). More specifically, I want to use jQuery\'s live() function

3条回答
  •  孤街浪徒
    2021-01-08 00:28

    it's a little bit dirty, but it works :

    
    
    
    

提交回复
热议问题