Re: [OT] - simple JS question
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55168
interpreted = N
texte = Great, that did it. Knew that it is something little:-)Have a nice weekend.NitaiOn 4/1/04 1:25 AM, "Marc Kaiwi"
wrote:> Hi,> Ah those pesky little semicolons will get you every time! : c)> Looks to me like your if() statement terminates before you intended.> Both of the following statements will always be executed in that> function. Try something more like this:>=20> >=20> Hope this helps!>=20> MK>=20>=20> On Saturday, January 3, 2004, at 02:36 PM, Nitai @ ComputerOil wrote:>=20>> Hi all,>>=20>> Have been working the last 2 dayxs straight trought, so please forgive>> this>> simple question, but I just dont see it.>>=20>> I need to submit a form. Thus I have a onclick javascript on a link.>>=20>> I need to:>>=20>> User clicks a link>> Confirmation window pops up with "do you really want to save?">> User clicks yes or cancel.>>=20>> Javascript looks like this:>>=20>> >>=20>> 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>> handy,>> anybody?>>=20>> TIA.>>=20>> Nitai>>=20>> -->> Redakto - Content Management that simply works>>=20>> ComputerOil=AE GmbH>> Dammstrasse 7>> 5400 Baden / Switzerland>> Telefon +41 (0)844 44 55 66>>=20>> info@computeroil.com>> http://computeroil.com>>=20>>=20>>=20>>=20>>=20>> ------------------------------------------------------------->> 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/>>=20>>=20> Signed: Marc Kaiwi>=20>=20> -------------------------------------------------------------> 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/>=20--=20Tools to energize your businessWeb Content Management =ABRedakto=BB & eBusiness SystemsComputerOil=AE GmbHDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Great, that did it. Knew that it is something little:-)Have a nice weekend.NitaiOn 4/1/04 1:25 AM, "Marc Kaiwi" wrote:> Hi,> Ah those pesky little semicolons will get you every time! : c)> Looks to me like your if() statement terminates before you intended.> Both of the following statements will always be executed in that> function. Try something more like this:>=20> >=20> Hope this helps!>=20> MK>=20>=20> On Saturday, January 3, 2004, at 02:36 PM, Nitai @ ComputerOil wrote:>=20>> Hi all,>>=20>> Have been working the last 2 dayxs straight trought, so please forgive>> this>> simple question, but I just dont see it.>>=20>> I need to submit a form. Thus I have a onclick javascript on a link.>>=20>> I need to:>>=20>> User clicks a link>> Confirmation window pops up with "do you really want to save?">> User clicks yes or cancel.>>=20>> Javascript looks like this:>>=20>> >>=20>> 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>> handy,>> anybody?>>=20>> TIA.>>=20>> Nitai>>=20>> -->> Redakto - Content Management that simply works>>=20>> ComputerOil=AE GmbH>> Dammstrasse 7>> 5400 Baden / Switzerland>> Telefon +41 (0)844 44 55 66>>=20>> info@computeroil.com>> http://computeroil.com>>=20>>=20>>=20>>=20>>=20>> ------------------------------------------------------------->> 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/>>=20>>=20> Signed: Marc Kaiwi>=20>=20> -------------------------------------------------------------> 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/>=20--=20Tools to energize your businessWeb Content Management =ABRedakto=BB & eBusiness SystemsComputerOil=AE GmbHDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://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 Web Archive of this list is at: http://webdna.smithmicro.com/
"Nitai @ ComputerOil"
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:
Change History for Win 4.0.1 (2000)
can WC render sites out? (1997)
WebCat2b12--[searchstring] bug (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
WebCat 3.0.8 (2000)
case sensitivity in lookups (1997)
Not really WebCat (1997)
Nested tags count question (1997)
Signal Raised Error (Part III) (1997)
RAM variables (1997)
Summary search -- speed (1997)
syntax question, not in online refernce (1997)
New Site (1998)
MATH TIME (1997)
Sku numbers (1997)
multi condition with showif (2005)
Large Database Options? (1999)
Virtual hosting and webcatNT (1997)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
Download Question (1997)