I have a Cordova/Phonegap application. that on start checks the internet connection. Actually the app executes local files, but I would, that when there is internet connection,
Unless I'm crazy, can't you just XHR the page and add it to the DOM? If using jQuery, just do it with $.get method.
$.get
syntax -
$.get(url, [data], [callback], [type])