Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/02/2012, 21:10
Bier
 
Fecha de Ingreso: enero-2002
Mensajes: 1.174
Antigüedad: 22 años, 3 meses
Puntos: 21
Posicionar foco en campo de texto - Google lo hace

Tengo un formulario:

<html>
<head>
<title>Foco</title>
</head>
<body>
<form name="form1" method="post" action="">
<input type="text" name="importe" id="importe">
<input type="submit" name="button" id="button" value="Enviar">
</form>
</body>
</html>

Deseo posicionar el cursor al desplegar la página, evitar que el usuario deba hacer click.

Al entrar a www.google.com te posiciona automáticamente.

Gracias por su ayuda.