标签:des io ar for on cti c res type
//获取元素子节点
function getChild(parent) {
var childs = parent.childNodes,
result = [];
for (var i = 0; cl = childs.length, i < cl; i++) {
if(childs[i].nodeType == 1) {
result.push(childs[i])
}
};
return result;
};
标签:des io ar for on cti c res type
原文地址:http://www.cnblogs.com/lw9413/p/4107545.html