let obArray = document.getElementsByName('name_text');
for (let i = 0; i < obArray.length; i++) {
obArray[i].style.color = '';
}
js遍历dom
最新推荐文章于 2022-10-06 19:44:31 发布
let obArray = document.getElementsByName('name_text');
for (let i = 0; i < obArray.length; i++) {
obArray[i].style.color = '';
}