Skip to main content

More Events

  • Chapter
  • 2301 Accesses

Abstract

At the end of the last chapter, you ended up with a respectable accordion, which was the first major bit of jQuery you’d embarked on. You might not have realized it, but the code you wrote could be tidied up. In this chapter, we’ll finish events by looking at the more advanced features, including:

  • Event delegation

  • Event propagation

  • Preventing default behavior

  • Creating your own events

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

Buying options

eBook
USD   24.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about 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

© 2013 Jack Franklin

About this chapter

Cite this chapter

Franklin, J. (2013). More Events. In: Beginning jQuery. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4933-7_6

Download citation

Publish with us

Policies and ethics