Created
March 15, 2012 12:59
-
-
Save anonymous/2044082 to your computer and use it in GitHub Desktop.
How to start a jquery mobile project
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
//Turn all the crap off. | |
$(document).bind("mobileinit", function () { | |
$.mobile.ajaxEnabled = false; | |
$.mobile.linkBindingEnabled = false; | |
$.mobile.hashListeningEnabled = false; | |
$.mobile.pushStateEnabled = false; | |
} | |
//then navigate with: | |
$.mobile.changePage("#newpage", { changeHash: false }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment