O'Reilly logo

Beyond jQuery by Ray Nicholus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

©  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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required