![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/08/2008, 12:17
|
| | Fecha de Ingreso: agosto-2008
Mensajes: 26
Antigüedad: 16 años, 6 meses Puntos: 0 | |
input type radio necesito q al seleccionar un input type radio aparesca un input type text en el mismo formulario como seria ????
yo lo tengo asi con php pero no funciona........
o no se si eso lo tengo que hacer con javascript........
<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ítulo</title>
</head>
<body>
<p> </p>
<p>
<input name="garantia" type="radio" value="fiador" ; />
<p>
<input name="garantia" type="radio" value="hipoteca" ; />
</p>
</p>
<p>
<?
if ($garantia=="fiador")
{
?>
<input name="cedfiador" type="text" size="8" maxlength="8" />
<?
}
?>
</p>
</html> |