O'Reilly logo

Pro SharePoint with jQuery by Phill Duffy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  10

Extending jQuery

This chapter will give you the knowledge required to write plug-ins for jQuery. One of the really powerful features of jQuery is that you can add extra functionality easily using its plug-in framework. If you have some code that you are using frequently in your jQuery solutions, then it may be time to look at turning it into a plug-in and expose some options to allow it to suit a variety of scenarios. You are probably familiar with the Don't Repeat Yourself (DRY) coding practice, and plug-ins can help by making sure that repeatable code is put into a plug-in where it makes sense. The other thing to consider is that plug-ins can be used to do a huge range of really useful things. In fact, plug-ins can be used ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required