There seems to be problem with the following javascript code but I can't see
it.
tmpd = "September 14, 2007";
n = 0;
tf = false;
do {
n++;
tf = !(tf);
}
while (sdte[n]<>tmpd);
This script is in the header. The script includes two large arrays (200
elements).
The variables n, tf, and tmpd are used in javascript code in the body.
(Each is defined with a var statement at the beginning of the header script
script. If I comment out the do...while loop and insert "n=13;" (for
example), the code in the body works fine. I want tf to switch from true to
false with each pass through the loop. The looping will stop when tmpd
equals a date (in string form) in the sdte array.