"미디어위키:Common.js"의 두 판 사이의 차이
| 1번째 줄: | 1번째 줄: | ||
/* 이 자바스크립트 설정은 모든 문서, 모든 사용자에게 적용됩니다. */ | /* 이 자바스크립트 설정은 모든 문서, 모든 사용자에게 적용됩니다. */ | ||
var sections = document.querySelectorAll(".section"); | var sections = document.querySelectorAll(".veaction-section"); | ||
if(sections != null){ | if(sections != null){ | ||
if(sections.length > 0){ | if(sections.length > 0){ | ||
for(var i = 0; i < sections.length; i++){ | for(var i = 0; i < sections.length; i++){ | ||
sections[i]. | console.log(sections[i].children); | ||
} | } | ||
} | } | ||
} | } | ||
2022년 7월 15일 (금) 17:57 판
/* 이 자바스크립트 설정은 모든 문서, 모든 사용자에게 적용됩니다. */
var sections = document.querySelectorAll(".veaction-section");
if(sections != null){
if(sections.length > 0){
for(var i = 0; i < sections.length; i++){
console.log(sections[i].children);
}
}
}