<html><div style='background-color:'><DIV>
<P>not sure about that, but the problem is that var's from one script block can't communicate with the function in another script block<BR>even if they are written in the same (html) page<BR></P></DIV>
<DIV></DIV>>From: Robert Pollard <RPOLLARD@APPLE.COM>
<DIV></DIV>>Reply-To: "[JavaScript List]" <JAVASCRIPT@LATECH.EDU>
<DIV></DIV>>To: Javascript@LaTech.edu
<DIV></DIV>>Subject: [Javascript] Function scope question
<DIV></DIV>>Date: Wed, 1 Oct 2003 15:32:08 -0700
<DIV></DIV>>
<DIV></DIV>>Hello all,
<DIV></DIV>>
<DIV></DIV>>I have 2 files that has several functions that are related. I
<DIV></DIV>>needed 2 of the functions in one file to be available in the other.
<DIV></DIV>>Can you not have a function in 1 file and call it from another file?
<DIV></DIV>>
<DIV></DIV>>Thanks,
<DIV></DIV>>
<DIV></DIV>>Robert Pollard
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Javascript mailing list
<DIV></DIV>>Javascript@LaTech.edu
<DIV></DIV>>https://lists.LaTech.edu/mailman/listinfo/javascript
<DIV></DIV></div><br clear=all><hr>Tired of spam? Get <a href="http://g.msn.com/8HMBEN/2734??PS=">advanced junk mail protection</a> with MSN 8.</html>