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

What jQuery Mobile does with forms

Before we get into the code, there are two very important things you should know about what jQuery Mobile will do with your HTML forms:

  • All forms will submit their data via AJAX. That means the data is sent directly to the action of your form and the result will be brought back to the user and placed within the page that held the form. This prevents a full page reload.
  • All form fields are automatically enhanced, each in their own way. As we go on in the chapter, you will see examples of this; but basically jQuery Mobile modifies your form fields to work better on a mobile device. A great example of this is the buttons. jQuery Mobile automatically widens and heightens buttons to make them easier to click in the ...

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