跳到内容

User:Star0/User:Star0/Sandbox/1.js:修订间差异

// Edit via Wikiplus
无编辑摘要
(// Edit via Wikiplus)
第1行: 第1行:
(function() {
window.onload = function() {
const test1 = document.querySelector("#test1");
  (function() {
test1.firstElementChild.firstElementChild.firstElementChild.src = "https://ice.frostsky.com/2024/09/20/185815f9e15db2942cbc0937eb8e19c9.png"
   const test1 = document.querySelector("#test1");
console.log("src change");
   test1.firstElementChild.firstElementChild.firstElementChild.src = "https://ice.frostsky.com/2024/09/20/185815f9e15db2942cbc0937eb8e19c9.png";
})();
   console.log("src change");
  })();
};