獲取一個元素下 js根據(jù)id獲取元素 JS如何獲取某個DIV下的元素?var nodes = document.querySelectorAll("*")//把這里的document替換成你的根節(jié)點var ... 2021-03-12 1049次瀏覽