so i made sure i wasn't using any of the html global variables (except document).
and this works until...
i cut the script and put it in a seperate file, now it no longer works
i haven't posted the file as i want general advice not specific answers, i learn better that way.
changed my mind here is an example that isn't working now:
sorry that was so vauge, i have narrowed my thoughts down to a few questions (i was about to delete my 1st post when you answered):
2. is the .js script just inserted into the html file like a macro between the <script></script> tags?
3. i have a global variable in my .js file does it keep the value between calls to functions? if the answer to question 2 is no
4, if the answer to 1 is value and 2 and 3 are no, do i have to return the new updated value to continue using it
5, can i use the document variable in my .js?
these are all the possible causes i can think of for the problem, and i am trying to work it out myself.