my code:
VB Code:
function checker(){ var complete = "F" for (i = 0; i <= count - 1; i++){ if (document.pc_app.F_PROF_1[0].checked || document.pc_app.F_PROF_1[1].checked || document.pc_app.F_PROF_1[2].checked || document.pc_app.F_PROF_1[3].checked){ complete = "T" } }
I have four sets of radio buttons:
F_PROF_1
F_PROF_2
F_PROF_3
F_PROF_4
how do i loop thrugh each set do i change the above if statement to F_PROF_i or F_PROF[i]. please help




Reply With Quote