window.onload = function () { pubuliu("container","box"); } function pubuliu (parent,box){ var oParent = document.getElementById('parent'); var oBox = oParent.getElementsByClassName('box'); console.log(oBox); }
猫神大要变成大神
相关分类