3 ms·
An HTMLCollection in the HTML DOM is live; it is automatically updated when the underlying document is changed.
by subv3rsion 12y ago
An HTMLCollection in the HTML DOM is live; it is automatically updated when the underlying document is changed.
- subv3rsion 12y agoUsing jQuery is a good example of comparing the behavior of HTMLCollection to a jQuery object http://jsfiddle.net/m3xzdg71/ http://jsfiddle.net/m3xzdg71/.
- lollipop24 12y agoA good example of a "dead collection" is the NodeList returned by `querySelectorAll` http://jsfiddle.net/4jyv99o6/14/ http://jsfiddle.net/4jyv99o6/14/