Apr 19, 2007 #1 banty19 Programmer Joined Mar 13, 2005 Messages 2 Location 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 Joined Oct 14, 2005 Messages 2,145 Location 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. <.