D
Dave R
Hey everybody!
I'm in dire need of some help.
I'm trying to loop through all the elements in a form, and determine
whether or not the field is visible. Kinda like this:
var TForm = document.form1;
for (i=0;i<TForm.length;i++)
{
if (TForm.elements.style.visibility=="visible") { // this line is
wrong
... do stuff here ...
}
}
This isn't working at all though...
Any suggestions or help would be greatly appreciated!.
Thanks in advance.
Dave
I'm in dire need of some help.
I'm trying to loop through all the elements in a form, and determine
whether or not the field is visible. Kinda like this:
var TForm = document.form1;
for (i=0;i<TForm.length;i++)
{
if (TForm.elements.style.visibility=="visible") { // this line is
wrong
... do stuff here ...
}
}
This isn't working at all though...
Any suggestions or help would be greatly appreciated!.
Thanks in advance.
Dave