Creating and Using Plugins
So far in this book, you have learned about features that are integral to the jQuery library. However, the story doesn’t end there. jQuery also allows you to extend its core functionality through plugins. A plugin is an extension that adds some custom functionality to jQuery. For example, you may want to add fancy tooltips to a web page or display masked text boxes that accept input in a specific format. This functionality isn’t available in the core jQuery library, but you can create a plugin that encapsulates the code required to display such fancy tooltips and then use that plugin on any web page.