function hayOpcionChequeada(frm) { arrObjs = frm.elements; for(i=0; i < arrObjs.length; i++){ if(arrObjs[i].type === 'radio' && arrObjs[i].checked === true){ return true; } } return false; } </script> </head> <body> <?php $edao = new estudianteDAO(); $estudiante = $edao->leerTodos(); ?> <form name="form1" method="post" action="ctlEstudiante"> <table width="757" border="1" cellspacing="1" cellpadding="1"> <caption> PERSONAS </caption> <tr> <th width="34" align="center" scope="col"> </th> <th width="139" scope="col">idDocente</th> <th width="135" scope="col">Nombres</th> <th width="137" scope="col">Apellidos</th> <th width="131" scope="col">Telefono</th> <th width="138" scope="col">email</th <th width="148" scope="col">Dirección</th> <th width="136" scope="col">Fecha</th>