摘要: 1.getElementsByClassName() 2.共享onload事件 假设我有两个函数,firatFunction,secondFunction,如果想让他们在加载时得到执行,如果把他们注意绑定到onload事件上,他们当中将只有最后那个才会被实际执行: secondFunction将取代 阅读全文
posted @ 2018-01-22 15:27 freeah 阅读(344) 评论(0) 推荐(0) 编辑