Ver Mensaje Individual
  #23 (permalink)  
Antiguo 04/01/2006, 03:17
ghismo
 
Fecha de Ingreso: marzo-2004
Mensajes: 34
Antigüedad: 20 años, 1 mes
Puntos: 0
Con el value tambien 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>
    <
head>
        <
title>Prueba hola mundo</title>
        <
script type="text/javascript" language="javascript">
            function 
Prueba(){
                
document.getElementById("prueba").value="HOla Mundo";
            }
        
</script>
    </head>    
    <body onload="Prueba()">
        <input id="prueba"></input>
    </body>
</html> 
La verdad, no se cual puede ser tu problema. Cuando veamos tu código, entonces podremos ayudarte.

un saludo
__________________
Quien se lo propone, lo consigue.
http://www.serakesi.com