I put a "close" button on my web app but can't seem to get it to work. In a windows app, all you need is - Application.Exit()- This doesn't work on a web app. Any suggestion would be great. Thanks
Printable View
I put a "close" button on my web app but can't seem to get it to work. In a windows app, all you need is - Application.Exit()- This doesn't work on a web app. Any suggestion would be great. Thanks
Well if you're using Internet Explorer, you can use thisIt will pop up a confirmation box first though.Code:<input type=button value=Close onclick="javascript:window.close();" />
This won't work at all in Firefox unless the window itself was opened by javascript.
:)