这篇文章主要介绍了JS 使用for循环配合数组遍历子节点查找元素
function nextChildNode(node,clazz,tagName){
var count= node.childElementCount;
for(var i=0;i
这篇文章主要介绍了JS 使用for循环配合数组遍历子节点查找元素
function nextChildNode(node,clazz,tagName){
var count= node.childElementCount;
for(var i=0;i