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 .

If you liked this blog, you might also like the other blogs we have written. Check out the full archive.

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

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