Single post
Extending jQuery: plugins
As part of the timesheets project, I have written a little jQuery clock plugin.
Part of the flexibility of jQuery is the way it handles extensions like this so gracefully. That and chaining functions together make it so useful and powerful.
If you’re interested in writing your own plugin, I can recommend the following resource as a base:
http://learn.jquery.com/plugins/basic-plugin-creation/
and from there, a good method is to find something that works in a way similar to what you want to achieve and use that as a stepping stone to get to where you want.