My DOM looks like this:
16条回答 忘了有多久 (楼主) 2020-11-22 02:06 I have the same wonder today, I did on this way : // $('.myClass').attr('src','').promise().done(function() { $(this).attr('src','img/new.png'); }); 0 讨论(0) 查看其它16个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
I have the same wonder today, I did on this way :
// $('.myClass').attr('src','').promise().done(function() { $(this).attr('src','img/new.png'); });