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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-4933-7_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4932-0
Online ISBN: 978-1-4302-4933-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books