
27/05/2003, 06:10
|
 | | | Fecha de Ingreso: octubre-2001 Ubicación: Sevilla, España
Mensajes: 1.228
Antigüedad: 23 años, 4 meses Puntos: 5 | |
Cita: <html>
<head>
<script>
var total=0;
function sumar(chk,valor) {
if (chk.checked)
total+=valor;
document.formulario.total.value=total;
}
</script>
</head>
<body>
<form name="formulario" action="">
<input type="checkbox" onClick="sumar(this,3)">
<input type="text" name=total value="">
</form>
</body>
</html> Un beso |