Re: Two functions in onclick event of a button
- From: Daniel Kirsch <Iwillnotread_daniel@xxxxxx>
- Date: Wed, 28 Sep 2005 14:59:48 +0200
kiran wrote:
now, I need some code which I can use in validate() function that will stop the execution of any other function or code after validate() function that's there for this save button onclick.
Something like exitAllFurtherCodeExecutionForThisEvent()? No, I don't know of any. Only for WSH there is WScript.Quit().
I guess you must restructure your programlogic and maybe in your case it might be a good idea to think about Randy's suggestion in <2OKdnU84dK6_8aXeRVn-sQ@xxxxxxxxxxx>
("It might be wiser to let validate decide whether to call send or not and then call it.")
Daniel .
- Follow-Ups:
- Re: Two functions in onclick event of a button
- From: kiran
- Re: Two functions in onclick event of a button
- References:
- Two functions in onclick event of a button
- From: kiran
- Re: Two functions in onclick event of a button
- From: Daniel Kirsch
- Re: Two functions in onclick event of a button
- From: kiran
- Two functions in onclick event of a button
- Prev by Date: Re: Two functions in onclick event of a button
- Next by Date: Re: Two functions in onclick event of a button
- Previous by thread: Re: Two functions in onclick event of a button
- Next by thread: Re: Two functions in onclick event of a button
- Index(es):