OZONE Asylum
Forums
DHTML/Javascript
Javascript - string as variable name?
This page's ID:
32042
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
if you made an array with the ids as keys you could call them like this var objs=[] objs["set1"]=set1 objs["set2"]=set2 objs["set3"]=set3 chart.addSeries(objs[this.id]) (this is the clicked checkbox)
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »