Enable/Disable Auto Back Button for jQuery Mobile Framework

Currently JQuery Mobile is still in alpha version. As they are moving towards first beta version, they do some changes from previous alpha versions.

One of the key change is, they disable auto back button by default, As they thought that many of the mobile device will have back button. But some may not have. To enable it, use the following option:

Please note that sequence of adding library does matter here.


<script src="/javascript/jquery.min.js"></script>

<script type="text/javascript">

$(document).bind("mobileinit", function(){

$.mobile.page.prototype.options.addBackBtn= true;



<script src="javascript/jquery.mobile.js"></script>