![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/02/2002, 18:47
|
![Avatar de Kaopectate](http://static.forosdelweb.com/customavatars/avatar14704_1.gif) | Colaborador | | Fecha de Ingreso: diciembre-2001 Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 23 años, 1 mes Puntos: 38 | |
Re: CheckBox Pruébalo así:
<html>
<head>
<script language="JavaScript">
function handleClick(){
if (document.prueba.chk.checked)
alert("Marcado");
else
alert("Desmarcado");
}
</script>
</head>
<body>
<form name="prueba" onClick="handleClick()">
<input type="checkbox" name="chk">Selector<br>
</form>
</body>
</html>
A mi me funciona. |