Response title
This is preview!
Next i have had trouble disableing tap toggle in that manner try using data-tap-toggle="false" on your footer. and setting visibleonpageshow is unnecessary true is the default.Important: Use
pageInit()
, not$(document).ready()
The first thing you learn in jQuery is to call code inside the
$(document).ready()
function so everything will execute as soon as the DOM is loaded. However, in jQuery Mobile, Ajax is used to load the contents of each page into the DOM as you navigate, and the DOM ready handler only executes for the first page. To execute code whenever a new page is loaded and created, you can bind to thepageinit
event. This event is explained in detail at the bottom of this page.
© 2013 jQuery Foundation
Sponsored by and others.