Last active
December 11, 2015 11:09
-
-
Save versluis/4592015 to your computer and use it in GitHub Desktop.
How to bring back the "back" button in jquery mobile. Call this before linking the jquery mobile library in your fie.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
// adding a back button | |
$(document).bind("mobileinit",function() {$.mobile.page.prototype.options.addBackBtn = true; }); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment