摘要: querySelectorAll 返回的是一个 Static Node List,而 getElementsBy 系列的返回的是一个 Live Node List。 看看下面这个经典的例子 [5]: // Demo 1 var ul = document.querySelectorAll('ul') 阅读全文
posted @ 2017-08-08 10:35 善未易明 阅读(317) 评论(0) 推荐(0)