News for hackers. Stuff that matters.
Re:JavaScript is doing black magic by subv3rsion on Wednesday September 24, 2014 @10:39AM (#8361690)
An HTMLCollection in the HTML DOM is live; it is automatically updated when the underlying document is changed.
Re:JavaScript is doing black magic by lollipop24 on Wednesday September 24, 2014 @08:46PM (#8364965)
A good example of a "dead collection" is the NodeList returned by `querySelectorAll` http://jsfiddle.net/4jyv99o6/14/
Re:JavaScript is doing black magic by subv3rsion on Wednesday September 24, 2014 @03:38PM (#8363634)
Using jQuery is a good example of comparing the behavior of HTMLCollection to a jQuery object http://jsfiddle.net/m3xzdg71/.