Results 1 to 2 of 2

Thread: need help Closing a web application

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2003
    Location
    New Hampshire, USA
    Posts
    15

    need help Closing a web application

    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

  2. #2
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345

    Re: need help Closing a web application

    Well if you're using Internet Explorer, you can use this
    Code:
    <input type=button value=Close onclick="javascript:window.close();" />
    It will pop up a confirmation box first though.

    This won't work at all in Firefox unless the window itself was opened by javascript.


Posting Permissions

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



Click Here to Expand Forum to Full Width