O'Reilly logo

jQuery Mobile Web Development Essentials Second Edition by Andy Matthews, Raymond Camden

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

Chapter 10. Working with Events

In this chapter, we will look at how events work in jQuery Mobile. While developers obviously have access to regular events (button clicks, and so on), jQuery Mobile also exposes its own events for developers to use.

In this chapter, we will do the following:

  • Discuss touch, swipe, scroll, and other physical events
  • Discuss page events

Working with physical events

For the first part of this chapter, we will focus on the "physical" events, or events related to touch and other actions done with a device.

Tip

For those of you who have been testing jQuery Mobile using a regular browser, please note that some of the following examples will not work properly on a desktop browser. If you wish, you can download and install emulators ...

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