jQuery Plugin Development

To view this screencast, add it to your cart and checkout. You can buy this screencast for any price, including FREE!

Creating plugins for jQuery is trivially easy and can help you:

1 $.fn.color = function(color){
2   return this.each(function(){
3     $(this).css('color', color);
4   });
5 };
6 
7 $('a').color('red').css('font-weight', 'bold');
8 
9 (function($){ ... }){jQuery)