Hola, tengo un formulario y quiero igualar algunos campos de texto y botones de seleccion (radio),
No logro igualar los botones de seleccion solo los campos de texto
hice esto (que estara mal)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
::
Código 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>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<p>
<label></label>
</p>
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Primero</td>
<td><input name="nombre1" type="text" id="nombre1" value="Juanito Perez" /></td>
</tr>
<tr>
<td>Segundo</td>
<td><input type="text" name="nombre2" id="nombre2" /></td>
</tr>
</table>
<br />
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Primero</td>
<td><input name="radio1" type="radio" id="radio" value="Si" checked="checked" />
<input type="radio" name="radio1" id="radio" value="No"/></td>
</tr>
<tr>
<td>Segundo</td>
<td><input type="radio" name="radio2" id="radio2" value="Si"/>
<input type="radio" name="radio2" id="radio2" value="No"/></td>
</tr>
</table>
<p>
<input type="button" name="enviar" onclick="nombre2.value=nombre1.value; radio2.value=radio1.value; " value="Enviar Datos" id="enviar" />
</p>
<p> </p>
</form>
</body>
</html>