Unfortunatley, the users want it on every form.

I doubt it will happen for them.



>>> [EMAIL PROTECTED] 15/04/2005 5:28:45 pm >>>
Hmmm,

Come to think of it, maybe we weren't keeping the form values
intact...

If I was asked to do it now.. I'd probably store all the values that
the user enters into a javascript array that gets updated with the
onChange event on each of the form elements.

Then when the user hits close, pop up the confirm window with a
dynamically created query string with all the form value in it. Then
use that string to recreate the form for the user, either by sending
it back through a session variable, or through another query string.

Depends on how complicated the form is I guess... let me know if you
get this monstrosity working.

bye!


Friday, April 15, 2005, 4:39:38 PM, you wrote:

ST> Thats what I started thinking..... porn sites would be so happy to
have
ST> that feature.....

ST> How did you mamange to have the popup reload the page... with
chages
ST> intact if I may ask?

>>>> [EMAIL PROTECTED] 15/04/2005 4:16:44 pm >>>

ST> Gawd I hope not... imagine how the online porn industry would take
ST> advantage of this.

ST> We looked at doing this once for a client... the closest we could
ST> offer was a popup on unload that gave them the option to go back
to
ST> the page.

ST> bye

ST> Friday, April 15, 2005, 3:55:59 PM, you wrote:

ST>> Hi

ST>> Is there anyway to Cancel an onunload event?

ST>> I am looking for a way to stop user navigating away from a page
ST> without
ST>> confirming they will lose their changes...

ST>> I have been hunting around for a solution for ages, but nothing
ST>> concrete I have found except for 

ST>> http://www.quirksmode.org/js/events_compinfo.html#interface 

ST>> which says it is impossible.

ST>> Does anyone have a differing opinion?

ST>> Scott Thornton, Programmer
ST>> Application Development
ST>> Information Services and Telecommunications
ST>> Hunter-New England Area Health Service
ST>> Phone  RNH +61 2 49236078
ST>> Fax       +61 2 49236076

ST>> [EMAIL PROTECTED] 

ST>> ---
ST>> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] 
ST>> To unsubscribe send a blank email to
ST> [EMAIL PROTECTED] 
ST>> Aussie Macromedia Developers: http://lists.daemon.com.au/ 


ST> -----------------------
ST> Ryan Sabir
ST> Newgency Pty Ltd
ST> 2a Broughton St
ST> Paddington 2021
ST> Sydney, Australia
ST> Ph (02) 9331 2133
ST> Fax (02) 9331 5199
ST> Mobile: 0411 512 454
ST> http://www.newgency.com/index.cfm?referer=rysig 


ST> ---
ST> You are currently subscribed to cfaussie as:
ST> [EMAIL PROTECTED] 
ST> To unsubscribe send a blank email to
ST> [EMAIL PROTECTED] 
ST> Aussie Macromedia Developers: http://lists.daemon.com.au/ 

ST> ---
ST> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] 
ST> To unsubscribe send a blank email to
[EMAIL PROTECTED] 
ST> Aussie Macromedia Developers: http://lists.daemon.com.au/ 


-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED] 
To unsubscribe send a blank email to
[EMAIL PROTECTED] 
Aussie Macromedia Developers: http://lists.daemon.com.au/

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to