I still work such a few days with jquery mobile. So my first question is how and if it is possible to use several javascript files .
For now I'm using a demo application from http://jquerymobile.com/ website which creates css, js and html code. But here only one html site is created. If I want to link to a second html page, I tried to use a seconf js files for that page but js is not loaded only the first loaded js files from index.html page is active, which can be used on different html pages.
So is it possible that only one local js file can be loaded on a phonegap app?
I tried the following simple thing:
second.js:
//...
$( '#content1' ).live( 'pageshow',function(event, ui){ alert( 'This page was just shown: '+ ui.nextPage); });