3 ms·
FACT: 95% of the use of jQuery can be replaced with document.getElementById() and document.getElementsByTagName()
by wavephorm 15y ago
FACT: 95% of the use of jQuery can be replaced with document.getElementById() and document.getElementsByTagName()
- rimantas 15y agoBullshit. 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.