Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
subv3rsion
· 12y ago · 0 comments
An HTMLCollection in the HTML DOM is live; it is automatically updated when the underlying document is changed.
Comments
[–]
lollipop24
12y ago
A good example of a "dead collection" is the NodeList returned by `querySelectorAll`
http://jsfiddle.net/4jyv99o6/14/
[–]
subv3rsion
OP
12y ago
Using jQuery is a good example of comparing the behavior of HTMLCollection to a jQuery object
http://jsfiddle.net/m3xzdg71/
.