title: how to close the application on button click in jquery mobile
body: <p>i am developing jquery mobile app for IOS and Android, I wanted to close the Entire Application on button click using below function still but it's not closing the APP</p>
  
  <pre><code>            if (navigator.app) {
                          navigator.app.exitApp();
                      }
                      else if (navigator.device) {
                          navigator.device.exitApp();
  
                      }
  </code></pre>