Many thanks Bruce!
Actually I use corporate libraries wich generate body and form tags
authomatically. So I can not modify them at my convenience. Thus when
window.onoad I call special function wich adds submit listener to my
definite form getting it by its ID. And it works eighter in NN and IE
happily.
BTW. There has one more problem appeared - when form.onsubmit I disable all
radiobuttons on the page as part of my logic. But they all appear unchecked
in codebehind after this disabling. It damages my logic and makes solution
treat all form radiobuttons as unchecked. Don't you know why it is so?
--
Vlad
"bruce barker" <no***********@safeco.com> wrote in message
news:OB**************@TK2MSFTNGP10.phx.gbl...
use the onsubmit which fires before the submit. note: the event does not
file if a form.submit() is done, so if you use asp.nets __dopostback(),
you need to update it to call your event.
-- bruce (sqlwork.com)
"Vladimir" <co***@ukr.net> wrote in message
news:uy**************@TK2MSFTNGP10.phx.gbl...
| It appears that this event (window.onbeforeunload) does not fire at
least in
| Netscape 7.0 and 7.1. But window.onload and window.onunload events do! I
| really need this event handling in my application as I need to show
message
| after submit button click but before actual unload wich starts after
client
| receive responce from the server. This responce is very slow sometimes.
Thus
| client should be warned.
| Does anybody know how to solve this problem?
|
| --
|
|
| Vlad
|
|