window.onunload
Why does window.open(...).onunload = function () { ... } not work as I expect?
I want to be able to tell when a window that I open is closed by the user.This is the code of my attempt at monitoring this:[详细]
2023-04-06 03:51 分类:问答location.href does not work in chrome when called through the body/window unload event
Javascript - document.location or window.location or window.location.开发者_如何学编程href or location.href does not work in Google Chrome 6 and 7(i didnt test lowers versions) when called from the wi[详细]
2023-03-25 08:11 分类:问答Javascript onclose event
How can I run javascript when user close the browser. I 开发者_StackOverflowtried to use \'onunload\', but it calls every time I press F5/refresh button?[详细]
2023-03-15 21:38 分类:问答submit form into new window > displays pdf > parent loses child window reference
I have the following code onClick of a button $(\'#someForm\').attr(\"target\", \"formresult\"); .......[详细]
2023-03-14 09:06 分类:问答javascript problem related to pop window
I need a pop window which could not be refreshed by user. for that i am trying this: function openNewWindow(href){[详细]
2023-03-04 03:27 分类:问答window.onbeforeunload handling ok and cancel options
I have a window.onbeforeunload function which generates the default message: "Are you sure you want to navigate away fromthis page...." .[详细]
2023-02-22 13:18 分类:问答iPhone/iTouch not firing (new Image) request onunload
Hey guys, hope someone can help me out. I\'m making a small application to record clicks, which is going great, until I hit the iPhone/iTouch. I\'d like to point out, that I\'ve been testing with an[详细]
2023-02-09 16:58 分类:问答Get url for the page being opened next in window.onunload event
Is there a way get the location for page being opened next in the window.onunload event. B开发者_如何学JAVAest Regards,[详细]
2023-01-06 08:51 分类:问答ASP.net user control nightmare
I have implemented a user control that I reuse on several pages. However, I have run into variety of issues such as session maintenance across pages, session clearing on navigating away - essentially[详细]
2022-12-21 10:47 分类:问答