Hacker News new | past | comments | ask | show | jobs | submit login

FACT: 95% of the use of jQuery can be replaced with document.getElementById() and document.getElementsByTagName()



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: