I've been doing a whole bunch of looking around, but I can't seem to find anything that's helped so far.
Basically I can't exit my app no matter what I try.
I've tried:
navigator.app.exitApp();
&
app.exitApp();
On both:
$("#myButton").click(function(){..
&
<a id="close" onClick="myFunction">Exit</a>
I'm getting to the end of my ropes here, thoughts? Thanks in advance.
I've managed to answer this myself. My issue was that I was lacking a deviceready listener and instead calling the function in a document ready.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.