Chapter 8
Advanced Selectors, Traversing, and DOM Manipulation
Section 6
Writing a Custom Selector Plugin
We explored jQuery plugins such as Cycle2, jQuery UI, and jQuery Mobile in the previous lesson. Plugins can also provide additional selector expressions that we can use to select elements. These selector expressions normally make use of a CSS Pseudo-class. Let’s look at it in more detail.