Native JavaScript for jQuery Methods

I like jQuery and rarely do a Web project of any size without using it. But always nibbling at me, only a little and usually in the background, is the fact that it’s big and it slows things down, so before typing in the <script> tag  I try to ask myself if  that whole big library needs to be loaded.

Most of the time it does need to be loaded, for lots of good reasons, but sometimes the only reason is pure laziness — the project would be better with a little native JavaScript rather than a big library, but I’d have to think a little bit harder for a few minutes.

Craig Buckler makes that few minutes of thinking a little easier with an article at SitePoint, “Native JavaScript Equivalents of jQuery Methods: the DOM and Forms“. The title doesn’t need any clarification — the article is well-written and carefully thought-out.