Be the first to write a review
Coding a jQuery Plugin Part 2
Welcome back to part 2 of the jQuery plugin creation tutorial; in part one we created our protected-properties and configurable properties, as well as the object that will make up our plugin. We added the method that developers will call to create an instance of our widget.
In this part of the tutorial we’re going to continue adding the functionality that will enable our widget to work in the way that we want it to. All of the functions left to add are internal methods shielded from the developer that are required internally by the plugin. Let’s make a start.
Dan Wellman
Dan Wellman is an author and web developer based in the UK. Dan has written three books so far; the latest, jQuery UI 1.7: The User Interface Library for jQuery, was released at the end of 2009.
Dan has been writing web development tutorials for over 5 years and works by day for a local digital media agency in his home town of Southampton.