Using this thread: PhoneGap for iPhone: problem loading external URL, I have modified my iOS PhoneGap application to immediately load an external HTML page when the application launches. On this HTML page, the user can press any of several Javascript buttons that perform some action, but do not take the client away from that web page.
I am wondering if there is a way to send a "message", or some kind of notification, back to Objective-C (maybe somewhere in AppDelegate.m?) whenever a JavaScript button is pressed. Ideally, my goal is to send a JS Variable from the website back into Objective-C.
I'd appreciate any help, please let me know if I can clarify any part of this. Thanks.