
12/02/2002, 18:47
|
 | Colaborador | | Fecha de Ingreso: diciembre-2001 Ubicación: Curaçao (Antillas Holandesas)
Mensajes: 3.179
Antigüedad: 23 años, 2 meses 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. |