function GLUpos() { var ResultsGLU = document.getElementById('rbnGLU'); var ResultsGLU2 = ResultsGLU.getElementsByTagName('input'); if (ResultsGLU2[0].checked) { document.form1['rbnPosGLU'].item(0).disabled = false; document.form1['rbnPosGLU'].item(1).disabled = false; document.form1['rbnPosGLU'].item(2).disabled = false; document.form1['rbnPosGLU'].item(3).disabled = false; document.form1['rbnPosGLU'].item(4).disabled = false; document.getElementById('rbnPosGLU').disabled = false; } if (ResultsGLU2[1].checked) { document.form1['rbnPosGLU'].item(0).disabled = true; document.form1['rbnPosGLU'].item(1).disabled = true; document.form1['rbnPosGLU'].item(2).disabled = true; document.form1['rbnPosGLU'].item(3).disabled = true; document.form1['rbnPosGLU'].item(4).disabled = true; document.form1['rbnPosGLU'].item(0).checked = false; document.form1['rbnPosGLU'].item(1).checked = false; document.form1['rbnPosGLU'].item(2).checked = false; document.form1['rbnPosGLU'].item(3).checked = false; document.form1['rbnPosGLU'].item(4).checked = false; document.getElementById('rbnPosGLU').disabled = true; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)