View Single Post
  #5 (permalink)  
Old Jul 6th, 2007, 15:18
jwhite68 jwhite68 is offline
New Member
Join Date: Jul 2007
Location: Bulgaria
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help with function to read external file

I just think that because of the onload event, the assignment is only made when its finished loading the quotes.txt file. So at the point you perform the abc.text assignment, its not necessarily set the global variable that you're refering to yet.

I think this is why I was having problems with it as a function - due to the nature of this onload, and only getting the value set asynchronously.

Thanks for your thoughts though.
Reply With Quote