Apr 19, 2007 #1 banty19 Programmer Mar 13, 2005 2 US What do you guys think is the best way to keep an array in state? I want something where the array will be updated whenever certain events occur. Using the document scope?
What do you guys think is the best way to keep an array in state? I want something where the array will be updated whenever certain events occur. Using the document scope?
Apr 19, 2007 #2 monksnake Programmer Oct 14, 2005 2,145 US Assuming no refeshing of the page, yes, your best bet is to declare the array as a global variable. <. Upvote 0 Downvote
Assuming no refeshing of the page, yes, your best bet is to declare the array as a global variable. <.