Adding Form Elements
jQuery Mobile elements are for the most part standard. jQuery Mobile formats them for better display on mobile devices. However, there are a few data attributes that you should be aware of:
data-role="fieldcontain"—Add to a container class around multiple form elements. Helps mobile elements, especially
<label> elements, track closer.
class="ui-hide-label">—Adding this class to a
fieldcontain container causes the label to hide.
<a> links to be displayed as mobile buttons.
data-icon—Specifies an icon ...