This is a demo to accompany the "Building Stateful jQuery Plugins" article written by Scott González in the October 2009 issue of jsmag. For more articles, tutorials and demos about jQuery and jQuery UI written by Scott González, you can read the Nemikor blog.

View the demo source and the plugin source to see what's going on.

Update: An updated tutorial that uses the widget factory from jQuery UI 1.8 is available on the Nemikor blog.