O'Reilly logo

Pro jQuery Mobile by Brad Broulik

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

Form Elements

jQuery Mobile will enhance all native form elements to make them more attractive and usable on mobile devices. However, older browsers that do not support these enhancements will progressively fall back to native elements to maintain a usable experience.

Form Basics

Methods for building form-based applications within jQuery Mobile are very similar to those we have traditionally used to build forms on the Web. Although an action and method attribute should be specified for clarity, they are not required. By default, the action will default to the current page’s relative path, which can be found with $.mobile.path.get() and an unspecified method will default to “get”.

When forms are submitted, they will transition to their subsequent ...

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