A
Andrés Giraldo
Hi!
I'm trying to pass trough all the objects of a form but I have some text
inputs in a DIV and I have many DIVs like this on my form.
I'm doing something like:
for (i = 0; i < document.forms(0).item.length; i++) {
dosomethingwith(document.forms(0).item(i));
}
but document.forms(0).item.length are the objects that are outside the
DIVs...
How can I pass trough all the objects of a form if some of them are
contained in divs?
Thanks a Lot!
I'm trying to pass trough all the objects of a form but I have some text
inputs in a DIV and I have many DIVs like this on my form.
I'm doing something like:
for (i = 0; i < document.forms(0).item.length; i++) {
dosomethingwith(document.forms(0).item(i));
}
but document.forms(0).item.length are the objects that are outside the
DIVs...
How can I pass trough all the objects of a form if some of them are
contained in divs?
Thanks a Lot!