D
Don Lancaster
I am trying to change a group of background colors by calculating their
names in a loop . Names are cfh13, cfh15, cfh17, etc...
Unlooped code like
cfh17.bgColor="#CCFFFF" ;
works just fine.
Code that does NOT involve a background color change but is calculated
within a loop works just fine, such as...
form[curedg + "s"]["value"] = "zorch" ;
But this does not....
form["cfh" + 17]["bg.Color"] = "#CCFFFF" ;
What am I doing wrong and how can I loop changing a named group of
background colors?
--
Many thanks,
Don Lancaster voice phone: (928)428-4073
Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552
rss: http://www.tinaja.com/whtnu.xml email: (e-mail address removed)
Please visit my GURU's LAIR web site at http://www.tinaja.com
names in a loop . Names are cfh13, cfh15, cfh17, etc...
Unlooped code like
cfh17.bgColor="#CCFFFF" ;
works just fine.
Code that does NOT involve a background color change but is calculated
within a loop works just fine, such as...
form[curedg + "s"]["value"] = "zorch" ;
But this does not....
form["cfh" + 17]["bg.Color"] = "#CCFFFF" ;
What am I doing wrong and how can I loop changing a named group of
background colors?
--
Many thanks,
Don Lancaster voice phone: (928)428-4073
Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552
rss: http://www.tinaja.com/whtnu.xml email: (e-mail address removed)
Please visit my GURU's LAIR web site at http://www.tinaja.com