Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/01/2006, 15:17
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años, 9 meses
Puntos: 5
asi te sirve ?:

Código PHP:
<script language="javascript">
 function 
KeyAscii(e) {
  return (
document.all) ? e.keyCode e.which;
 }
 
 function 
TabKey(enextobject) {
  
nextobject document.getElementById(nextobject);
  if (
nextobject) {
   if (
KeyAscii(e) == 13nextobject.focus();
  }
 }
</script> 
Código HTML:
nombre <input type="text" name="nombre" id="nombre" onKeyPress="TabKey(event, 'apellido')"><br />
apellido <input type="text" name="apellido" id="apellido" onKeyPress="TabKey(event, 'telefono')"><br />
telefono<input type="text" name="telefono" id="telefono"> 
saludos
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.