© Jack Franklin, Russ Ferguson 2017

Jack Franklin and Russ Ferguson, Beginning jQuery, https://doi.org/10.1007/978-1-4842-3027-5_9

9. Writing a jQuery Plug-in

Jack Franklin and Russ Ferguson2

(1)Aviation House, GDS, 6th Floor Aviation House, London, UK

(2)Apt 129, Ocean, New Jersey, USA

jQuery plug-ins are something that beginners tend to shy away from or are afraid to use. Plug-ins seem to be built up in people’s minds as incredibly complex things to use, but once you learn how they work, you’ll find them actually very straightforward, and you’ll find yourself making multiple plug-ins while working. Plug-ins are not as complicated as you might think, as this chapter will demonstrate.

After exploring the benefits of the plug-in and when to turn code ...

Get Beginning jQuery: From the Basics of jQuery to Writing your Own Plug-ins now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.