Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for deepthianns

Hi, I want to execute some java script code when I close the browser. The following code is executing in I.E. But I want to execute in Firefox and Netscape. <html> <head> <script language="JavaScript"> function doUnload(evt) { var e = (window.event) ? window.event : evt; if (e.clientX < 0 && …

Member Avatar for alleen
0
3K
Member Avatar for ayusman.mohanty

Hi, Even I am trying the browser close event for cross browser and this should trigger only when X button is clicked or page is refreshed. Here's the code pasted above which I am using but it only works in IE. I know the issue is because of window.events and …

Member Avatar for ayusman.mohanty
0
533