Re: Calling Functions or Subs in another <SCRIPT> by Al
Al
Tue Feb 22 20:34:28 CST 2005
"Brian Burgess" <bburgess66@hotmail.com> wrote in message
news:eGixHwJGFHA.560@TK2MSFTNGP15.phx.gbl...
> Hi all,
>
> Can anyone tell me how to call a function within one SCRIPT element
> (VBScript) from a function within a different SCRIPT element (also
> VBScript)?
>
> The called function is within a SCRIPT element with the RUNAT=SERVER
> attribute. And the calling function is within a SCRIPT that does not have
> this attribute.
It seems to me that what you want is near impossible. Client-side script
code can invoke a function residing in a different client-side script block
on the same page, because they share the same code space. Server-side script
is run on the server with only the results emitted to the client-side
browser, not the code itself.
/Al