Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/12/2005, 00:25
patros
 
Fecha de Ingreso: marzo-2005
Mensajes: 24
Antigüedad: 20 años
Puntos: 0
Pequeña Duda

Quiero saber por que la funcion me funciona solo una vez ?
Si deberia aumentar numero siempre
Muchas Gracias

<html>
<head>
<title> TEST DE CONOCIMIENTOS MUSICALES </title>
<head>
<body>
numero =0
<script>

function prueba(numero){
numero =0
numero=numero+1
alert(numero)
}
</script>
<input type="button" value="entra" onclick="prueba(numero)">

</body>
</html>