Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 8th, 2005, 09:34 AM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Browsing away from page

Hi,

Could you tell me how I can display a confirm box, when a user navigates away from a page, or closes the browser window.

Thanks in advance

 
Old February 8th, 2005, 09:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

check out the ONUNLOAD event of the page, which should allow you to do what you need.




Similar Threads
Thread Thread Starter Forum Replies Last Post
browsing path garrisonian14 PHP How-To 1 June 6th, 2007 05:30 AM
Browsing for a file jroxit Other Programming Languages 1 January 23rd, 2006 01:29 PM
BROWSEINFO for dialog for browsing folders Chantale Access VBA 2 November 4th, 2004 03:53 PM
Browsing DOM in Java - Xpath? holdmykidney XML 2 October 4th, 2004 09:08 AM
Re: Browsing to Data Source dazzer General .NET 0 March 17th, 2004 08:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.