M
My4
Dear Sirs,
I want to give the user of my intranet a warning that if he uses the
explorers right corner 'X' to close the browser he looses his information. I
tried to prevent him from closing, or saving the data, but this seems
impossible, so a warning like 'the things you just typed must be entered
again probably' is good enough. I prefere onbeforeunload for onunload, which
is more standard, since the data that is soon to be lost, are still readable
on the screen.
I have two questions I cannot find the answer for using for example google:
1. To date, how standard is this event? The intranet users only use I.E. and
Netscape, and we can control the versions.
2. When is this event exactly fired? It seems that in I.E. it is not only
fired when using the corner "X" but also when I use a popup window to open a
calender in the form. Hence the effect was that I got a message: 'your data
is lost' when I opened a calender subwindow. Which is nonsence off course.
Can I check somehow where the event comes from? Or is there another clever
way to prevent this from happening
Kind Regards,
Jalisey Leyanis Escalona Alvarez
I want to give the user of my intranet a warning that if he uses the
explorers right corner 'X' to close the browser he looses his information. I
tried to prevent him from closing, or saving the data, but this seems
impossible, so a warning like 'the things you just typed must be entered
again probably' is good enough. I prefere onbeforeunload for onunload, which
is more standard, since the data that is soon to be lost, are still readable
on the screen.
I have two questions I cannot find the answer for using for example google:
1. To date, how standard is this event? The intranet users only use I.E. and
Netscape, and we can control the versions.
2. When is this event exactly fired? It seems that in I.E. it is not only
fired when using the corner "X" but also when I use a popup window to open a
calender in the form. Hence the effect was that I got a message: 'your data
is lost' when I opened a calender subwindow. Which is nonsence off course.
Can I check somehow where the event comes from? Or is there another clever
way to prevent this from happening
Kind Regards,
Jalisey Leyanis Escalona Alvarez