looking for a way to be able to pick different elements of different
forms and only haveing to write 1 page. So I may 1 time have 3 forms and
27 elements on each form. I though the syntax for being able to pick an
element would be document.form[x].element[y].value, but eveytime I try
this I get a document.form.x is null or not an object, so I wwrote a
sample program,
=============== =============== ====
<form>
<INPUT type=radio name=radio_name value=t></td>
</form>
<SCRIPT language="JavaS cript">
document.print( document.forms[0].element[0].value);
</SCRIPT>
=============== =============== ===
and get the same error, any ideas, help, or how-tos
john
forms and only haveing to write 1 page. So I may 1 time have 3 forms and
27 elements on each form. I though the syntax for being able to pick an
element would be document.form[x].element[y].value, but eveytime I try
this I get a document.form.x is null or not an object, so I wwrote a
sample program,
=============== =============== ====
<form>
<INPUT type=radio name=radio_name value=t></td>
</form>
<SCRIPT language="JavaS cript">
document.print( document.forms[0].element[0].value);
</SCRIPT>
=============== =============== ===
and get the same error, any ideas, help, or how-tos
john
Comment