Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #21302
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Mel Smith" <med_cutout_syntel@aol.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Suspending the flow of JS/ES execution |
| Date | Thu, 12 Sep 2013 13:53:15 -0600 |
| Lines | 28 |
| Message-ID | <b9ekdcFqih1U1@mid.individual.net> (permalink) |
| X-Trace | individual.net iRRUKiIlJ8+fuydP8PXMDgQuPCONOMuBapuxaINjNrkt9EJNfo |
| Cancel-Lock | sha1:Cr4EfArlCLaD+aeCUcP5F/2rHgE= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-RFC2646 | Format=Flowed; Original |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| Xref | csiph.com comp.lang.javascript:21302 |
Show key headers only | View raw
Hi:
I have the following JS/ES code:
function somefunc() {
// next line does a lot of work
MyNewAlert(cmsg) ;
// I want to stop execution here *until*
// my new alert function has finihed its work and returned
// that is, do not execute the next function until everrything
// is completed up to here
someobj.focus() ;
return ;
}
Hope someone can tell me what to do to suspend the flow of JS/ES
execution until my new function is completed.
Thanks for some guidance on this.
--
Mel Smith
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Suspending the flow of JS/ES execution "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-12 13:53 -0600
Re: Suspending the flow of JS/ES execution Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-09-12 13:12 -0700
Re: Suspending the flow of JS/ES execution "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-12 15:00 -0600
Re: Suspending the flow of JS/ES execution JJ <duh@nah.meh> - 2013-09-13 04:53 +0700
Re: Suspending the flow of JS/ES execution "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-12 18:42 -0600
Re: Suspending the flow of JS/ES execution "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-13 09:09 -0600
Re: Suspending the flow of JS/ES execution "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-13 10:11 -0600
Re: Suspending the flow of JS/ES execution "Mel Smith" <med_cutout_syntel@aol.com> - 2013-09-13 13:07 -0600
csiph-web