×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2012
    Posts
    4

    Closing html5 application ???

    I built an html5 application using jquery and Qt but i have no idea how to add a close or exit function to the application.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: Closing html5 application ???

    What does the JavaScript function window.close() do for you?

  3. #3
    Registered User
    Join Date
    Oct 2012
    Posts
    4

    Re: Closing html5 application ???

    I have tried : "<a href="" onclick="window.close();"> Exit</a>" but nothing happens. I'm i using it correctly?

  4. #4
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Closing html5 application ???

    Try
    Code:
    <a href="javascript:window.close()">Close Window</a>
    or
    Code:
    <form>
    <input type="button" value="Close Window" onclick="window.close()">
    </form>

  5. #5
    Registered User
    Join Date
    Oct 2012
    Posts
    4

    Re: Closing html5 application ???

    Thanks for all the help but I did solve my problem.

Similar Threads

  1. Replies: 1
    Last Post: 2012-05-09, 07:57
  2. Closing an application
    By Cyr in forum Symbian
    Replies: 4
    Last Post: 2010-10-24, 20:35
  3. Application closing..!!!
    By techietintu in forum Symbian
    Replies: 4
    Last Post: 2007-01-23, 08:55
  4. closing of application
    By niwre in forum General Development Questions
    Replies: 0
    Last Post: 2005-04-04, 09:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×