Hacker News new | ask | show | jobs
by lukeschlather 5045 days ago
> I'm surprised by the number of comments like this.

The sentiment is borne out by the facts when you dig a little deeper. Just calling document.getElementById without using the return value does not actually dig into the DOM and find the element according to this comment: http://news.ycombinator.com/item?id=4436438