Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #21328

Re: Suspending the flow of JS/ES execution

From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Re: Suspending the flow of JS/ES execution
Date 2013-09-13 10:11 -0600
Message-ID <b9grpiF9udnU1@mid.individual.net> (permalink)
References <b9ekdcFqih1U1@mid.individual.net> <4fpYt.72772$wA2.68551@fx32.iad> <b9eob3Frcm0U1@mid.individual.net> <1ddaiqhh6qdpo.1f6innudnejww.dlg@40tude.net> <b9go5nF95qcU1@mid.individual.net>

Show all headers | View raw


Hi JJ (& others):

JJ said:
>> function somefunc() {
>>  Alert(cmsg, alertCallback);
>>  return;
>> }

    In the fragment above I would like to pass an argument to the 
alertCallback() function, and in the Alert() function access thos arguments

    In one particular instance, I need to pass a scoped variable (an object) 
to the call back function.

    In a general situation, how do I pass one value (or an array of values) 
to this alertCallback function.

Thanks for an additional kick !

-Mel

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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