If I need to find all the layers that start with a certain value...regardless of the rest of the name...how do I do that?
What I am thinking is something like this:
for (var x=0, x< ,x++)
document.getElementByID(sec+ *)[x].visibility='hidden'
Now, I have no idea what to put in the x< spot, and I have no idea if the wild card option is available.
It seems there is a way to use regular expresions, but can you put a variable you have already created into a regular expression?
Dave
"Credit belongs to the man who is actually in the arena - T.Roosevelt
What I am thinking is something like this:
for (var x=0, x< ,x++)
document.getElementByID(sec+ *)[x].visibility='hidden'
Now, I have no idea what to put in the x< spot, and I have no idea if the wild card option is available.
It seems there is a way to use regular expresions, but can you put a variable you have already created into a regular expression?
Dave
"Credit belongs to the man who is actually in the arena - T.Roosevelt