![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/11/2002, 04:38
|
![Avatar de JavierB](http://static.forosdelweb.com/customavatars/avatar16568_12.gif) | Colaborador | | Fecha de Ingreso: febrero-2002 Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años Puntos: 772 | |
Hola, zero_sos.
Con algunos cambios en el código de chivi, podrías poner el texto en una celda:
<html>
<head>
<script>
function Formulario(){
document.getElementById('c1').innerHTML = 'Soy ' +form.soy.value + ' y estoy ' + form.estoy.value;
}
</script>
</head>
<body>
<form name=form>
¿Quien eres? <input type=text name="soy"><br>
¿Como estás? <input type=text name="estoy"><br>
<textarea name=mensaje></textarea><br>
<input type=button value=Mandar onclick="Formulario()">
</form>
<table width="720" border="0" cellspacing="0">
<tr>
<td id="c1">Celda1</td>
<td>Celda2</td>
</tr>
<tr>
<td>Celda3</td>
<td>Celda4</td>
</tr>
</table>
</body>
</html>
A ver si te sirve. Saludos, |