Hi everyone, In my tapestry application I am opening a Child window from parent window and on closing the child window I need to set some hidden values on Parent page and refresh the parent page.
I have this script that fires on Body unload but works only in IE, function closePreviewMode() { // check to ensure window is not closed while navigating from page A -> B if (window.event.clientX < 0 && window.event.clientY < 0) { // parentwindow close and set values } } .... <body id="index_contactus" class="hasLeftColumn" onUnload="return closePreviewMode()"> Has anyone done anything to make it work on Firefox also ? Am I doing something wrong. Is there any standardized way of detecting the Window close() event for IE & Firefox ? Thanks in advance for all the help. - Sunil M -- View this message in context: http://www.nabble.com/standardized-way-of-detecting-Window-Close-event-in-IE---Firefox---tf2914290.html#a8143238 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]