jQuery base code to create a jQuery plugin

Neeraj Singh

By Neeraj Singh

on July 24, 2009

Following code has been tested with jQuery 1.3 .

Recently I was discussing how to create a jQuery plugin with a friend of mine. In the end I had a base code that should work as a starting point of any jQuery plugin.

Take a look here .

Stay up to date with our blogs. Sign up for our newsletter.

We write about Ruby on Rails, ReactJS, React Native, remote work,open source, engineering & design.