原文参考:https://blog.csdn.net/xiabing082/article/details/45587139
Html5学习-JQuery mobile——button学习使用
1. 按钮
jQuery Mobile 中的按钮可通过三种方法创建:
使用 <button> 元素
使用 <input> 元素
使用 data-role="button" 的 <a> 元素
jQuery Mobile 中的按钮可通过三种方法创建:
使用 <button> 元素
使用 <input> 元素
使用 data-role="button" 的 <a> 元素
例如
<a class="ui-btn">an</a>
<input type="button" value="按钮">
<a href="#" data-role="button">按钮</a>
jQuery Mobile也会自动的转换像表单元素中的submit,reset,button,或image为按钮样式。