[Javascript] Function scope question
Andrew Gibson
andyg at ihug.co.nz
Wed Oct 1 17:54:20 CDT 2003
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
>
More information about the Javascript
mailing list