Re:So you want to write JavaScript for a living?
by wavephorm on Friday October 21, 2011 @04:08PM
(#3141441)
FACT: 95% of the use of jQuery can be replaced with document.getElementById() and document.getElementsByTagName()
[ Parent
| on HN ]
Re:So you want to write JavaScript for a living?
by rimantas on Friday October 21, 2011 @05:44PM
(#3141841)
Bullshit. Unless 95% of your jQuery usage is just finding some elements and the… doing nothin with them.
Meanwhile others do some stuff: like attaching event handlers, manipulating attributes, class names; doing animation, making AJAX requests, etc. Most of these differ to some degree accross browsers and that's there jQuery comes in: to unify the API.