From jQuery Mobile Alpha 2 Release Notes :
Global configuration
jQuery Mobile now has several ways to override the initial configuration from several aspects of the structure (for example, disabled Ajax-style links or forms). This can allow you to sculpt jQuery Mobile to work in situations that are more specialized and not suitable for the full framework design methodology (giving you the opportunity to use only a couple of widgets, and not the structure as a whole, for example).
So you can work with jQuery Mobile à la carte by disabling bits that you don't need. For example, to disable adiaxial navigation and forms:
$(document).live("mobileinit", function() { $.mobile.ajaxLinksEnabled = false; $.mobile.ajaxFormsEnabled = false; });
NB , as the related documents page says, you will need to execute your JavaScript code (for example, the snippet above) before loading jQuery Mobile, so import your scripts like this:
<script src="jquery.js"></script> <script src="custom-scripting.js"></script> <script src="jquery-mobile.js"></script>
Matt ball
source share