onbeforeunload
Silverlight 4: OnBeforeUnload
I have a silverlight application and I want to capture the close event of the browser. So what I did, in my .aspx page i have this code[详细]
2023-01-11 15:33 分类:问答Prompt User to Fill in Form Prior to Leaving Web Page - via Javascript
I have a web form on my web page. Before the user leaves the page, I want a javascript popup message asking the user if they have completed the form with a \"Yes\" or \"No\" button on it. If the u开发[详细]
2023-01-11 03:47 分类:问答Performing GET request before leaving page
If a GET request is made as follows $(window).bind(\'beforeunload\', function() { // GET request }); and the page is abandoned before the GET request is completed,[详细]
2023-01-08 20:40 分类:问答onBeforeUnload - how to call a server-side function without ajax
What I want to do: dis开发者_Python百科pose of a session upon detecting an \"OnBeforeUnload\" event in the client. I know it doesn\'t fire 100% of times (90% accuracy works fine for me)[详细]
2023-01-08 15:20 分类:问答window.onbeforeunload not working on the iPad?
Does anyone know if the onbeforeunload event is supported on the iPad and/or if there\'s a different way to use it?[详细]
2023-01-07 04:57 分类:问答Can OnBeforeUnload run code if they accept the dialog?
I want to control how easily people can leave my app. Now, I know I can\'t do it completely; that\'s what cron jobs are for. But I\'d like to catch as many cases as possible.[详细]
2023-01-05 06:01 分类:问答onbeforeunload in safari does not run code server side
On browser close or F5, I have to 开发者_C百科perform some code on server side For this I have a button.On click of that button which has onclientclick and onclick functions written.I also wrote an ev[详细]
2023-01-03 21:48 分类:问答Javascript onbeforeunload Issue
I have an issue with the following code. What happens is when a user closes their browser, it should prompt them to either click OK or click CANCEL to leave the page. Clicking OK would trigger a windo[详细]
2023-01-03 14:07 分类:问答Is it posible to use "confirmit" to open new url in the same window?
I\'m using a the confirmit java script function to redirect to a new url with a positive response. It doesn\'t do exactly what I want - and maybe I can\'t have exactly what I want.[详细]
2022-12-30 17:05 分类:问答Which event handler to use to record leaving page - onunload or onbeforeunload?
Having not any answers to my previous questions about using javascript to measure page turn times, I\'m going to start writing my own code (!).[详细]
2022-12-30 07:38 分类:问答