Re: [OT] - simple JS question
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55167
interpreted = N
texte = Hi,Ah those pesky little semicolons will get you every time! : c)Looks to me like your if() statement terminates before you intended. =20Both of the following statements will always be executed in that =20function. Try something more like this:Hope this helps!MKOn Saturday, January 3, 2004, at 02:36 PM, Nitai @ ComputerOil wrote:> Hi all,>> Have been working the last 2 dayxs straight trought, so please forgive ==20> this> simple question, but I just dont see it.>> I need to submit a form. Thus I have a onclick javascript on a link.>> I need to:>> User clicks a link> Confirmation window pops up with "do you really want to save?"> User clicks yes or cancel.>> Javascript looks like this:>> >> Problem is that even when the user clicks on cancel the form is being> submited. I can see why it does not work but don't have the solution =20=> handy,> anybody?>> TIA.>> Nitai>> --> Redakto - Content Management that simply works>> ComputerOil=AE GmbH> Dammstrasse 7> 5400 Baden / Switzerland> Telefon +41 (0)844 44 55 66>> info@computeroil.com> http://computeroil.com>>>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to =20> > Web Archive of this list is at: http://webdna.smithmicro.com/>>Signed: Marc Kaiwi-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi,Ah those pesky little semicolons will get you every time! : c)Looks to me like your if() statement terminates before you intended. =20Both of the following statements will always be executed in that =20function. Try something more like this:Hope this helps!MKOn Saturday, January 3, 2004, at 02:36 PM, Nitai @ ComputerOil wrote:> Hi all,>> Have been working the last 2 dayxs straight trought, so please forgive ==20> this> simple question, but I just dont see it.>> I need to submit a form. Thus I have a onclick javascript on a link.>> I need to:>> User clicks a link> Confirmation window pops up with "do you really want to save?"> User clicks yes or cancel.>> Javascript looks like this:>> >> Problem is that even when the user clicks on cancel the form is being> submited. I can see why it does not work but don't have the solution =20=> handy,> anybody?>> TIA.>> Nitai>> --> Redakto - Content Management that simply works>> ComputerOil=AE GmbH> Dammstrasse 7> 5400 Baden / Switzerland> Telefon +41 (0)844 44 55 66>> info@computeroil.com> http://computeroil.com>>>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to =20> > Web Archive of this list is at: http://webdna.smithmicro.com/>>Signed: Marc Kaiwi-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Marc Kaiwi
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Quit revisited (1997)
Thanks for tips, more quest (1997)
Cookies and webcat (1997)
Hiding usernames and passwords in URL (1998)
WC2b15 File Corruption (1997)
shipcost (1997)
(no subject) (1997)
[WebDNA] Mailing list failure !!! (2019)
Workaround for Emailer doubled bcc messages (1998)
Re:Remote stockroom ? (1998)
possible, WebCat2.0 and checkboxes-restated (1997)
BIG PROBLEMS with Checkboxes!!! (1998)
authenticating a second user (1997)
Help with (2003)
Looking for host (1999)
Classified Ads 4 Sale (1998)
Hard carriage convertion? (1998)
append to right db (2002)
Mozilla/4. and Browser Info.txt (1997)
Error Msg (1997)