[Javascript] Function scope question

Robert Pollard rpollard at apple.com
Wed Oct 1 18:25:47 CDT 2003


That's what I did.
i.e.
<script language="JavaScript" 
src="/admin/JavaScript/ChoicesList.js"></script>
<script language="JavaScript" 
src="/admin/JavaScript/CourseSelection.js"></script>


On Wednesday, October 1, 2003, at 03:54 PM, Andrew Gibson wrote:

> Think I've done this before....
>
> Try it with 2 script blocks with file src's. Hopefully they could 
> reference
> each other.
>
> eg
>
> <script src=scr1.js>
> </script>
> <script src=scr2.js>
> </script>
>
> Andrew Gibson
>
>
>
> Subject: [Javascript] Function scope question
>
>
>> Hello all,
>>
>> I have 2 files that has several functions that are related.  I needed 
>> 2
>> of the functions in one file to be available in the other.  Can you 
>> not
>> have a function in 1 file and call it from another file?
>>
>> Thanks,
>>
>> Robert Pollard
>>
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list