As of jQuery Mobile 1.4, use .button()
only for input
with type button
, submit
or reset
.
input
is converted into a div that holds all styles.
<div class="ui-btn ui-input-btn ui-corner-all ui-shadow">
Submit
<input type="submit" value="Submit">
</div>
If you call .button()
on <a>
or <button>
tags, they will be wrapped in a div.