![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/09/2008, 20:43
|
| | Fecha de Ingreso: diciembre-2006
Mensajes: 21
Antigüedad: 18 años, 2 meses Puntos: 0 | |
ayuda con formulario 2 holas
necesito como puedo hacer para que mi area de texto de mi formulario, me muestre lo ultimo escrito dentro de el, dependiendo de 3 botones de opcion que tengo, es decir, tengo un formulario y una sola area de texto para rellenar, 3 botones de opcion: administracion, noticias y novedades, la idea es que cada vez que seleccione una seccion me muestre lo ultimo escrito para dicha seccion, ayudenme plisssssss XD.
aqui les dejo mi 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>Documento sin título</title>
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
left:791px;
top:15px;
width:212px;
height:546px;
z-index:1;
}
body {
margin-left: 5px;
}
.Estilo14 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #FFFFFF; font-size: 14px; }
-->
</style>
</head>
<body>
<form name="form1" method="post" action="recepcion_text.php">
<table width="667" border="0">
<tr>
<td width="20" bgcolor="#42A0FF"><label>
<input type="radio" name="radio" id="radio" value="A" />
</label></td>
<td width="199" bgcolor="#000066"><div align="center"><span class="Estilo14">administracion</span></div></td>
<td width="20" bgcolor="#42A0FF"><label>
<input type="radio" name="radio" id="radio" value="NOT" />
</label></td>
<td width="170" bgcolor="#000066"><div align="center"><span class="Estilo14">noticias</span></div></td>
<td width="20" bgcolor="#42A0FF"><label>
<input type="radio" name="radio" id="radio" value="NOV" />
</label></td>
<td width="208" bgcolor="#000066"><div align="center"><span class="Estilo14">novedades</span></div></td>
</tr>
</table>
<p>
<textarea name="contenido" rows="8" cols="80"></textarea>
</p>
<table width="501" border="0">
<tr>
<td width="107"><label>
<input type="submit" name="enviar datos" id="enviar datos" value="Enviar Datos" />
</label></td>
<td width="384"><label>
<input type="reset" name="borrar" id="borrar" value="Borrar Datos" />
</label></td>
</tr>
</table>
<p>
<label></label>
</p>
</form>
<p> </p>
</body>
</html> |