Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/05/2011, 06:15
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 20 años
Puntos: 834
Respuesta: ERROR: Se esperaba un objeto: "textbox"

Va una soga, aunque por tu avatar creo que ya tenés una:
En javascript sería así:
Código PHP:
<!DOCTYPE html>
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Documento sin título</title>

</
head>

<
body>
<
form action="" method="get">
<
input name="campo" type="text" />
<
input name="" type="button" onclick="campo.value=7" value="agregar 7" />
</
form>
</
body>
</
html
En visual, consultá en el foro que corresponda a ese lenguaje.