Re: Unspecified Error with onbeforeunload and document.form.submit

From: Dustin Goodyear (bigdustin_at_gmail.com)
Date: 11/01/04


Date: 1 Nov 2004 13:27:53 -0800

Dave,
I guess I am not really sure what I am returning a value to. Basiclly
this is just the code that is causing me problems... if there is any
way to get the onbeforeunoad to act in the same manner without the
error, thats what I want to get done.

"Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message news:<uy7YvFstEHA.2664@TK2MSFTNGP12.phx.gbl>...
> Dustin Goodyear wrote:
> > function unloadMess(){
> > mess="I am the changed unload message";
> > return mess;
> > }
> > window.onbeforeunload = (true) ? unloadMess : null;
>
> I'm curious about the above. To what do you think you're returning a value?



Relevant Pages

  • Re: Program error on Windows startup
    ... > Thats all well and good, but nothing there tells me what is actually ... > causing the problem, the fix, judging by what I read is to disable the ...
    (microsoft.public.win2000.general)
  • Re: Swann Night Hawk security camera?
    ... and you seem to never mention people of Jewish origin..and no other then ... Well thats likely because it only seems that the people causing most of the ... militant Jehovah's Witnesses then I'll change my tune ...
    (alt.security.alarms)
  • Re: Program error on Windows startup
    ... Thats all well and good, but nothing there tells me what is actually ... causing the problem, the fix, judging by what I read is to disable the ...
    (microsoft.public.win2000.general)
  • Re: SMTPEvt error 20031
    ... Johan Engdahl ... An unknown SMTP command was used. ... Thats it, it doesn't provide much information and it doesn't seem to be ... as to what may be causing them... ...
    (microsoft.public.isa)
  • Re: 1987 New Yorker - engine quits at random
    ... causing your problem since it only happens when the gas pedal is not ... The other thing could be a slow to respond AIS motor not being ... able to maintain the proper idle position. ... Thats what this site is for. ...
    (rec.autos.makers.chrysler)