Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/09/2005, 16:27
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 19 años, 6 meses
Puntos: 39
Pues es simple. Tienes que incluir el atributo onKeypress.
<input type="button" onKeypress=" return ValidaSubir(event)" value="">
Y tu funcion seria:
Código:
function ValidaSubir(e)  
{
  tecla=(document.all) ? e.keyCode : e.which;
  if(tecla==13) return;
  forma=document.frmSubeLink;
//...
}
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.