Executing javascript in background using phonegap <p>I've created an application that will need to fire javascript events every "X" minutes. I'm using phone gap build to deploy on Android/iPhone/Blackberry, but I'm of course stuck, as the javascript timer doesn't fire in the background (when they minimize the app). I was wondering if phonegap had some sort of ability to fire javascript events while the app is running in the background.</p> <p>Or is there ANY way to accomplish this easily across these major phones? I just need to fire an ajax call with the geolocation info from the phones.</p>