Skip to main content

Extending jQuery

  • Chapter
Pro SharePoint with jQuery
  • 599 Accesses

Abstract

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 plugins can be used to do a huge range of really useful things. In fact, plug-ins can be used to do anything that jQuery can do, such as visual effects, utilities, DOM manipulation, and a whole lot more.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Phyll Duffy

About this chapter

Cite this chapter

Duffy, P. (2011). Extending jQuery. In: Pro SharePoint with jQuery. Apress. https://doi.org/10.1007/978-1-4302-4099-0_10

Download citation

Publish with us

Policies and ethics