Silicon Valley Code Camp : October 3rd and 4th, 2009session
Writing a jQuery Plugin
About This Session
If you use jQuery and find yourself writing similar one-offs again and again, it's time you think about turning that code into a plugin. In jQuery, plugins are the natural way to make code reusable. As a matter of fact, if you're creating some functionality, you might as well turn it into a plugin from the start so that you and others can use it easily in the future.