Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping Vars in State

Status
Not open for further replies.

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?
 
Assuming no refeshing of the page, yes, your best bet is to declare the array as a global variable.



[monkey][snake] <.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top