window.onload = function () {
pubuliu("container","box");
}
function pubuliu (parent,box){
var oParent = document.getElementById('parent');
var oBox = oParent.getElementsByClassName('box');
console.log(oBox);
}
添加回答
举报
0/150
提交
取消