如何自定义(或禁用)自动“返回"JQueryMobile 中的按钮 [英] How to customize (or disable) the automatic "back" button in JQueryMobile
本文介绍了如何自定义(或禁用)自动“返回"JQueryMobile 中的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以自定义(或简单地禁用)JQueryMobile 中的自动后退"按钮?
Is is possible to customize (or simply disable) the automatic "back" button in JQueryMobile ?
推荐答案
我认为您正在寻找这个:
I think you're looking for this:
http://jquerymobile.com/demos/1.0a3/#docs/toolbars/docs-headers.html
要禁用它,只需在页面的标题 div 中包含 data-backbtn="false"
.
To disable it just include data-backbtn="false"
in the header div of your page.
这篇关于如何自定义(或禁用)自动“返回"JQueryMobile 中的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文