search for: onbeforeunload

Displaying 5 results from an estimated 5 matches for "onbeforeunload".

2005 Nov 11
0
(kind of OT) Equivalent to onunload or onbeforeunload in Safari?
...hat wants form data to be saved when leaving a page. This could include leaving a page by following a link, closing a window, or pressing the back or forwards buttons. So ... I do some research, and found this Web page: http://www.4guysfromrolla.com/webtech/100604-1.shtml which describes using onbeforeunload to show a confirmation (I''m doing a form submit, so it seems like onunload would work, too). This works in Firefox and IE. Safari, however, blithely ignores this. I know a lot of Rails developers are Mac users so I was hoping someone knows of a solution to this issue? FYI, I tried Saf...
2008 Apr 24
4
Scriptaculous Help (page exit effects)
I was wondering if it was possible in Prototype/Scriptaculous to run an effect when a link is clicked, then go to that page, or if it was possible to have an effect run when the page unloads. I have tried <body onunload="new Effect.Fade("whatever");> and some prototype page exit events, could get a alert("") function to work, but not the effects. Any ideas?
2007 Nov 12
15
If form changed ask if you really want to exit page...
First things first: Hi all! I''ve been sucked into prototype and script.aculo.us develpment thanks (because of?) the Symfony PHP framework... I''d like to implement a feature on some admin pages, but I can''t seem to find the right search term to google it; I want to ask the user to confirm exit of a page, if she has changed anything on the forms displayed on it. I have
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
...n"); + return; + } + open=false; + var resp = sync_load(url_prefix+"anyterm-module","a=close&s="+session+cachebust()); + handle_resp_error(resp); // If we get an error, we still close everything. + document.onkeypress=null; + document.onkeydown=null; + window.onbeforeunload=null; + var e; + while (e=frame.firstChild) { + frame.removeChild(e); + } + frame.className=""; + if (on_close_goto_url) { + document.location = on_close_goto_url; + } +} + + +function get_anyterm_version() { + var svn_url="$URL: http://svn.anyterm.org/anyterm/tags/relea...
2009 Sep 25
0
Wine release 1.1.30
...class factory stub implementation. mshtml: Added JSProtocolInfo::ParseUrl implementation. mshtml: Added JScriptProtocolInfo::QueryInfo implementation. mshtml: Added javascript protocol tests. mshtml: Store body event target in window object. mshtml: Added IHTMLWindow2::onbeforeunload property implementation. mshtml: Added IHTMLWindow2::onload property. mshtml: Added IHTMLWindow3::attachEvent implementation. mshtml: Added support for document events in fire_event. mshtml: Fire beforeunload event on body element. mshtml: Added IHTMLElement::dblclick...