Ver Mensaje Individual
  #4 (permalink)  
Antiguo 29/08/2006, 10:05
Avatar de shinblood
shinblood
 
Fecha de Ingreso: diciembre-2003
Ubicación: lima
Mensajes: 214
Antigüedad: 20 años, 5 meses
Puntos: 1
uhmm ami esto me funciona


Código PHP:

<!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=iso-8859-1" />
<
title>Documento sin t&iacute;tulo</title>
</
head>

<
body>
<
form id="form1" name="form1" method="post" action="">
  <
input name="txtNombre" type="text" id="txtNOmbre" value="VALOR INICIAL" />
</
form>
<
SCRIPT>
document.getElementById('txtNombre').focus();
document.getElementById('txtNombre').select();
</SCRIPT>
</body>
</html> 
ademas no son atributos son metodos del objeto input
__________________
saludos :adios: