![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/02/2010, 06:52
|
Colaborador | | Fecha de Ingreso: marzo-2008 Ubicación: Sabadell
Mensajes: 4.897
Antigüedad: 16 años, 10 meses Puntos: 574 | |
Respuesta: Mostrar checkbox al activar un checbox
Código HTML:
Ver original<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" type="text/JavaScript"> function muestra(obj){ if(obj.checked){ document.getElementById("botones").style.display=""; }else{ document.getElementById("botones").style.display="none"; } } <input name="Montly" type="checkbox" onChange="muestra(this)"/> <td width="419"><span id="botones" style="display:none">Plase charge: every <input name="9th" type="checkbox" /> 9th o the <input name="20th" type="checkbox" /> <td width="117"> </td> <input name="Trimonthly" type="checkbox" /> <input name="Semestral" type="checkbox" /> <input name="Annual" type="checkbox" /> <input name="Other" type="checkbox" />
Te sirve?
Quim |