Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User pronatal's Avatar
    Join Date
    Oct 2012
    Posts
    4
    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
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,412
    What does the JavaScript function window.close() do for you?

  3. #3
    Registered User pronatal's Avatar
    Join Date
    Oct 2012
    Posts
    4
    I have tried : "<a href="" onclick="window.close();"> Exit</a>" but nothing happens. I'm i using it correctly?

  4. #4
    Nokia Developer Moderator A.A.M.'s Avatar
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,308
    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 pronatal's Avatar
    Join Date
    Oct 2012
    Posts
    4
    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 Web Runtime
    Replies: 4
    Last Post: 2010-10-24, 20:35
  3. Application closing..!!!
    By techietintu in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved