JQuery determines whether the image has been loaded

From , 3 Years ago, written in JavaScript, viewed 54 times.
URL https://pastebin.vip/view/e2a7555f
  1. $("#demoImg").attr("src", "demo.jpg").load(function() {
  2. alert("图片加载完成");
  3. });

Reply to "JQuery determines whether the image has been loaded"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website