[jQuery] Re: OnBeforeUnload and jQuery

2008-11-10 Thread manwood
Thanks Karl. I can see the potential issues with providing a hook at the point a user tries to leave a page. I will try your other suggestion though. Thanks. On 10 Nov, 01:22, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > Unfortunately you have to use the "built in" window.onbeforeunload method. > > Y

[jQuery] Re: OnBeforeUnload and jQuery

2008-11-09 Thread Karl Rudd
Unfortunately you have to use the "built in" window.onbeforeunload method. Yes it does look like crap but it's the standard box and if the browsers allowed you to just do anything when someone tried to close a window it would be more of a security risk (think uncloseable windows). The only time