Solved

onbeforeunload equivalent for Netscape

Posted on 2004-04-12
4
2,535 Views
Last Modified: 2012-08-14
Hi,

can anybody guve me the solution for onbeforeunload event which works in IE .Can anbody suggest any netscape alternative??
0
Comment
Question by:sachinp78
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 33

Expert Comment

by:sajuks
ID: 10804392
The onBeforeUnload event cannot be called by Netscape because Netscape doe snot support it
For an example of its use in view the accepted answer at

http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20630729.html
0
 

Author Comment

by:sachinp78
ID: 10804423
I know that event works only in IE .. any other events / alterntives for Netscape.I want an pop to be opened when user closes Netscape browser
0
 
LVL 33

Accepted Solution

by:
sajuks earned 25 total points
ID: 10804608
0
 
LVL 12

Expert Comment

by:ahosang
ID: 10804850
Mozilla will support onbeforeunload as of Moz 1.7
http://www.mozilla.org/releases/mozilla1.7a/README.html
Look at the 'Under the hood' section
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question