©  Ray Nicholus 2016

Ray Nicholus, Beyond jQuery, 10.1007/978-1-4842-2235-5_4

4. Finding HTML Elements

Ray Nicholus

(1)Johnson Creek, Wisconsin, USA

How many times have you come across a project that uses jQuery simply to perform seemingly trivial element selection? How many times have you written $('#myElement') or $('.myElement')? If you have depended on jQuery for most (or all) of your projects, you may not be aware of the fact that you don’t need jQuery to select elements! This task is fairly straightforward with the help of the plain ‘ole boring web API. Much like jQuery, there are abundant examples (such as this book) that demonstrate how to properly harness the power of the browser to swiftly select any and all elements in your document. ...

Get Beyond jQuery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.