Monthly Archives: June 2013

How to Create jQuery Plugins

Naming Convention jquery.pluginName.js for non-minify version jquery.pluginName.min.js for minified version $.fn is an alias of the jQuery.prototype JavaScript property To manipulate specific elements, use .each() The Scaffolding Do something with `Say` plugin Use it! The Structure |–index.html |–/js    |–/js/tuts.js    |–/js/jquery.Say.js    |–/js/jquery-1.8.3.min.js The index.html The js/tuts.js Result Default Overwritten options.what