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.
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.
What does the JavaScript function window.close() do for you?
I have tried : "<a href="" onclick="window.close();"> Exit</a>" but nothing happens. I'm i using it correctly?
Try
orCode:<a href="javascript:window.close()">Close Window</a>
Code:<form> <input type="button" value="Close Window" onclick="window.close()"> </form>