
jQuery Mobile ◾ 145
Creating Forms in jQuery Mobile
Where dialogs are usually used for getting limited data from the user, forms are used for get-
ting large amounts of information from the user. e information entered in the forms can be
submitted to the server too. A form can make the data entry task quite convenient for the user
by using different types of controls. In addition to displaying a one line input field, a form can
display a multiline text area, drop-down lists, date and time pickers, checkboxes, radio buttons,
and much more.
Every form field in jQuery Mobile is wrapped within the following tag:
<div data-role = "fieldcontain">
</div> ...