Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/04/2014, 22:38
rmaeloy
 
Fecha de Ingreso: abril-2014
Mensajes: 32
Antigüedad: 10 años, 1 mes
Puntos: 0
Respuesta: Funcion en form

Usa otro nombre para los INPUT (eiemplo:"tipos") y veras como funciona dentro y fuera del Formulario.

La función que llames desde el onClick no sea igual al nombre de este.

Código HTML:
Ver original
  1. <form action="" method="POST" name="formulario" id="formulario">
  2. <tr>
  3. <th>Tipo</th>
  4. <td>
  5. <input type="radio" name="tipos" value="1" onclick="tipo(this)" />
  6. <input type="radio" name="tipos" value="2" onclick="tipo(this)"  checked />
  7. </td>
  8. </tr>
  9. <tr>
  10. <th>Nombre</th>
  11. <td>
  12. <select name="select1" id="select1"  onclick="return tipo2('a')">
  13. <option value="1">ABC</option>
  14. <option value="2">DFG</option>
  15. </td>
  16. </tr>
  17. </table>
  18. </form>

Suerte!.