Part 2. Plugins and functions

The most common third-party extension is a plugin that operates on a collection of elements selected from the document. This part of the book looks at how to implement such extensions using best practice techniques.

Before launching into the plugin itself, chapter 4 discusses a number of best practice principles that you should apply to your own development efforts. These guidelines will help to ensure you produce a robust and useful plugin.

Chapter 5 goes through the process of developing a collection plugin—one that operates on a collection of elements on the page. The use of a plugin framework helps apply the principles described in the previous chapter, while allowing you to concentrate on the actual functionality ...

Get Extending 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.