rnckty
1.js方法:
function replaceErrorImg(obj) { obj.src="images/common/error.bmp"; } 2.jquery绑定 $(\'img\').error(function() { $(this).attr("src", "images/common/error1.gif"); });

  

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-22
  • 2021-11-03
  • 2022-12-23
  • 2021-12-09
  • 2021-12-22
  • 2021-12-22
猜你喜欢
  • 2021-10-08
  • 2022-01-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案