jQuery Mobile will ignore elements whose data-role
attributes are set to none
. Therefore, you can simply add these attributes to your markup:
<input type="text" name="foo" data-role="none" />
<button type="button" id="bar" data-role="none">Button</button>