Lessons: 7Length: 46 minutes

Next lesson playing in 5 seconds

Cancel

Write a jQuery Plugin

Introduction

01:09

jQuery is the most popular JavaScript library, and one of the reasons for that popularity is jQuery's extensibility. Not only does jQuery give us a lot of goodies out of the box, but the community has created a whole ecosystem of open-source plugins. jQuery plugins are a great way to componentize and share your code.

In this short course, Envato Tuts+ instructor Jeremy McPeak will show you how to extend jQuery by writing a plugin. You'll get to follow along as he creates a simple accordion plugin for displaying collapsible outlines. You'll learn the basics of plugin creation, and also how to enhance your plugin with settings and methods.

Learn JavaScript: The Complete Guide

We've built a complete guide to help you learn JavaScript, whether you're just getting started as a web developer or you want to explore more advanced topics.

If you've never used jQuery, get up to speed in our course: Introduction to jQuery.