Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Mel Smith" Newsgroups: comp.lang.javascript Subject: Re: Suspending the flow of JS/ES execution Date: Fri, 13 Sep 2013 10:11:25 -0600 Lines: 22 Message-ID: References: <4fpYt.72772$wA2.68551@fx32.iad> <1ddaiqhh6qdpo.1f6innudnejww.dlg@40tude.net> X-Trace: individual.net W9JJGPhewiNYkjrkCHmNMQIXbh0DuHKVxiSCTSyCdrgZEeIEjC Cancel-Lock: sha1:xSa46bFIWP1mf/puiazHGSmN2vo= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: csiph.com comp.lang.javascript:21328 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