Window.close() not working

  1. 4 years ago
    Edited 4 years ago by jfcws

    how I can ?
    Website2APK.printPage ();
    setTimeout (window.close(), 1000);

    or
    Website2APK.printPage ();
    window.close();

    window.close() no working

  2. admin

    18 Jun 2019 Administrator

    You might want to take a look at exitApp() function on the following page:

    https://websitetoapk.com/docs/javascript-apis.html

  3. I print an open page with window. Open ()
    IN event onbody
    Website2APK.printPage ();
    setTimeout (window.close (), 1000);

    Window.close does not work is the window open and does not close what alternative I have to close the window I print?

  4. admin

    18 Jun 2019 Administrator
    Edited 4 years ago by admin

    Seems like you need to debug your app to get to know the exact error on console:
    https://websitetoapk.com/docs/debugging-with-chrome.html

 

or Sign Up to reply!