Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/04/2005, 18:04
Avatar de wamoretti
wamoretti
 
Fecha de Ingreso: febrero-2002
Ubicación: Lima
Mensajes: 34
Antigüedad: 23 años, 2 meses
Puntos: 0
indentificando con un nombre a cada boton que tengas en tu formulario...

<input type="submit" name="Buscar" onclick="return nombre(this)" value="Buscar">
<input type="submit" name="Verificar" onclick="return nombre(this)" value="Verificar">
<input type="submit" name="Aceptar" onclick="return nombre(this)" value="Aceptar">


<script language="Javascript">
function nombre(boton){
alert('Usted presionó el boton "' + boton.value + '"')
return false;
}
</script>

Última edición por wamoretti; 28/04/2005 a las 19:18