News for hackers. Stuff that matters.
Re:You might not need jQuery by drdaeman on Thursday January 30, 2014 @09:43PM (#7154917)
> $(el).hide()

> el.style.display = 'none'

You meant something more like

    document.querySelectorAll(el).forEach(function(e) { e.style.display = 'none'; }
and a polyfill for IE8 due to lack of native Array#forEach, right?
Re:You might not need jQuery by kibibu on Thursday January 30, 2014 @10:03PM (#7154989)
This equivalency only works when el is a DOMElement, not a selector string.
Re:You might not need jQuery by talmand on Friday January 31, 2014 @11:04AM (#7157303)
Which one is likely to be more common?