Solved

onbeforeunload equivalent for Netscape

Posted on 2004-04-12
4
2,527 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
  • 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
convert jquery code to javascript 3 46
Auto Submit on dropdown box 19 35
Asp.net mvc 5 5 22
jqplot Pie Chart - javascript 2 18
Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now