Can someone explain this to me? This is most impressive but I don't get it..?
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/iRQH0EwNlzE?fs=1&hl=de_DE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/iRQH0EwNlzE?fs=1&hl=de_DE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
From what I have read, app.js (and maybe your other js files) are not compiled when run in the simulator. The simulator is running your js code in much the same way you'd expect in a webview or in a standard web page / browser environment. It's only when you go through the steps to run your app on an actual phone that it gets compiled and turned into the native code. AFAIK this isn't true on Android. I wish it were! It would save a lot of time tweaking the UI.
Yes Tim, you are right.
Besides this the results.js file is called each time you open the new window, so that's why the changes are "live" and the ones in app.js or other files loaded only when the app starts are not.