, a code gallery for creating, saving and sharing all kinds of code snippets.

JQuery Plugin Template — jQuery

Posted On: Saturday, May 10, 2014 at 9:33 AM

Basic template for a jQuery plugin.

(function($) {
// Shell for your plugin code
$.fn.yourNameHere= function() {
// Plugin code


You need to be logged in to comment! x


Joined on Saturday, May 3, 2014
Contributed 29 Snippets

Get Social and Share