Book Image

jQuery 2.0 Development Cookbook

By : Leon Revill
Book Image

jQuery 2.0 Development Cookbook

By: Leon Revill

Overview of this book

Table of Contents (17 chapters)
jQuery 2.0 Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Interacting with the User by Making Use of jQuery Events

In this chapter, we will cover:

  • Detecting button clicks

  • Detecting element clicks

  • Detecting change

  • Updating content based on user input

  • Detecting key press events on inputs

  • Restricting input character length

  • Changing page elements on mouse hover

  • Triggering events manually

  • Preventing event triggers

  • Creating a custom event