Ver Mensaje Individual
  #7 (permalink)  
Antiguo 31/03/2008, 13:58
Avatar de farra
farra
 
Fecha de Ingreso: marzo-2008
Ubicación: Aqui estoy
Mensajes: 574
Antigüedad: 16 años, 1 mes
Puntos: 20
De acuerdo Re: posicionar cursor en formulario html

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script>
function sf(ID){
document.getElementById(ID).focus();
}
</script>
</head>

<body onload="sf('text');">
<input name="text" type="text" id="text" />
</body>
</html>