Http://www.tuicool.com/articles/AZnYVz
Get started with JQuery mobile-set Back button texttime 2013-01-09 20:24:28 csdn Blog original http://blog.csdn.net/liang408015204/article/details/8487201
1. To add a Back button to the page container header, simply add the Data-add-back-btn property to the page container and set the property value to True. Display defaults to back, you can modify the value of the Data-back-btn-text property to set the text that appears in the Rewind button.
2. Sample code:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" >
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<meta name= "viewport" content= "width=device-width,initial-scale=1"/>
<link href= "Css/jquery.mobile-1.2.0.min.css" rel= "Stylesheet" type= "Text/css"/>
<script src= "js/jquery-1.8.3.min.js" type "Text/javascript" ></script>
<script src= "Js/jquery.mobile-1.2.0.min.js" type= "Text/javascript" ></script>
<script type= "Text/javascript" >
$ (function () {
$.mobile.page.prototype.options.backbtntext= "Back";
</script>
</HEAD>
<BODY>
<div data-role= "page" id= "E1" data-add-back-btn= "true" >
<div data-role= "header" ><div data-role= "Content" ><a href= "#e2" > Next </a></div>
<div data-role= "Footer" ></div>
<div data-role= "page" id= "E2" data-add-back-btn= "true" >
<div data-role= "header" ><div data-role= "Content" ><a href= "#e3" > End </a></div>
<div data-role= "Footer" ></div>
<div data-role= "page" id= "E3" Data-add-back-btn= "true" data-back-btn-text= "Home" >
<div data-role= "header" ><div data-role= "Content" ><a href= "#e1" > Home </a></div>
<div data-role= "Footer" ></div>
</BODY>
</HTML>
3. Preview:
Click Next to click the last page
Get started with JQuery mobile-Set Back button text (GO)