摘要:
1 function getElementsByClassName(className,root,tagName) { //root:父节点,tagName:该节点的标签名。 这两个参数均可有可无 2 if(root){ 3 root=typeof root=="string" ? document.getElementById(root) : root; ... 阅读全文
posted @ 2018-02-24 10:57
前端极客
阅读(337)
评论(0)
推荐(0)

浙公网安备 33010602011771号