Extra container appearing around button in jQuery Mobile 1.4.2

浪子不回头ぞ 提交于 2019-12-01 12:11:15
Omar

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!