Ver Mensaje Individual
  #9 (permalink)  
Antiguo 24/01/2006, 10:59
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola micayael

A ver si te sirve algo así:
Código PHP:
<html>
<
head>
<
script type="text/javascript">
function 
ini() {
  
document.getElementById('pepe').onclick = function() {
      
alert('Hola') }
}
</script>
</head>
<body onload="ini()">
<input type="button" id="pepe" />
</body>
</html> 
Saludos,