Hi,
Is it possible to run a script from within a form that closes the browser window? The form is being launched in a new window from a web page and if the user clicks cancel we just want to get rid of the window.
window.close seems like it should do the trick but doesn't work in a server side script - if it needs to be in a client script could someone explain how to set this up and assoicate this with a button click?
Regards,
Edd
Script to close browser window
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 53
- Joined: Wed Jan 02, 2013 4:23 pm
- Location: Lyndhurst, Hampshire
- Contact:
-
- Ebase User
- Posts: 53
- Joined: Wed Jan 02, 2013 4:23 pm
- Location: Lyndhurst, Hampshire
- Contact:
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 53
- Joined: Wed Jan 02, 2013 4:23 pm
- Location: Lyndhurst, Hampshire
- Contact:
Who is online
Users browsing this forum: No registered users and 22 guests