Thanks for all the replies! I had tried the unload event, but I had
the same doubts Klaus had about the reliability of that approach,
which is why I asked here to get some insight on the problems with
doing something like this. Of course, persisting the icons when they
are moved would be easier, b
I hesitate to suggest that a simpler approach may be to store the
positions as they change, rather than wait until the browser suddenly
disappears, shuts down, moves to another page, or whatever?
On Nov 15, 11:50 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On Nov 15, 9:35 pm, Bil Corry <[EMAIL P
On Nov 15, 9:35 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote on 11/15/2007 8:12 AM:
>
> > I'd just like to know what the jQuery best practice for catching the
> > browser exit event is?
>
> Probably just bind your code to the onunload event. From the jQuery docs:
>
>
[EMAIL PROTECTED] wrote on 11/15/2007 8:12 AM:
I'd just like to know what the jQuery best practice for catching the
browser exit event is?
Probably just bind your code to the onunload event. From the jQuery docs:
$(window).unload( function () { alert("Bye now!"); } );
More info her
4 matches
Mail list logo