I'm using Ratchet to build a phonegap app. I have a tab bar at the bottom and tapping icons will take users to specific view.
My setup is basically like this: 1.html, 1.js, 1.css and 2.html, 2.js, 2.css
and I'm using Ratchet's push.js to switch between the two html.
The problem is with push.js, any scripts/css is not loaded. So if I switch to 2.html from 1.html, 2.js, 2.css are not loaded. Also, I guess cordova.js also needs to be loaded every time.
Is there a work around? Googling got me to