Hola primero tengo un checkbox donde al hacer click me activar la vista de este formulario, que por ahora va estar oculto.
Código:
}
<s:checkbox name="beans.MetaliferaMena"/>
<table width="1063" border=0 cellpadding=0 cellspacing=0 bordercolor=#000000">
<tr>
<td width="255"></td>
<td width="182"></td>
<td width="57"></td>
<td width="273"></td>
<td width="353"></td>
</tr>
<tr>
<td rowspan="6" class="sytle25"><span class="style17 style21 style20">Cuerpo de agua receptor</span></td>
<td colspan="5" class="sytle25">
</td>
</tr>
<tr>
<td colspan="5" class="sytle25"><table width="695" border="0">
<tr>
<td width="163" valign="middle" class="style14 style21 style20">Caudal estimado (l/s):</td>
<td width="176" align="center" valign="middle" class="style14 style21 style20"><input name="txtUnidTel36" type="text" width="120" /></td>
<td width="132" align="center" valign="middle" class="style14 style21 style20">N° Orden:</td>
<td width="206" align="center" valign="middle" class="style14 style21 style20"><input name="txtUnidTel35" type="text" width="120" /></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="5" class="sytle25"><table width="721" border="0">
<tr>
<td width="229" align="left" valign="middle" class="style14 style21 style20">Nombre del cuerpo de agua:</td>
<td width="482" align="left" valign="middle" class="style14 style21 style20"><input name="txtUnidTel35" type="text" width="250" /></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="5" class="sytle25"><table width="721" border="0">
<tr>
<td width="229" align="left" valign="middle" class="style14 style21 style20">Distancia al PAM (km):</td>
<td width="482" align="left" valign="middle" class="style14 style21 style20"><input name="txtUnidTel35" type="text" width="250" /></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" class="sytle25"><span class="style21 style20">Régimen</span></td>
<td colspan="4" class="sytle25"><table width="604" height="29" border="0">
<tr>
<td width="175" class="style14">Permanente</td>
<td width="58"><input type="radio" ></td>
<td width="206" class="style14">Estacional</td>
<td width="59" align="center"><input type="radio" ></td>
</tr>
</table></td>
</tr>
<tr>
<td class="sytle25"><span class="style17 style21 style20">Uso actual del agua</span></td>
<td colspan="5" class="sytle25"><table width="840" height="74" border="0">
<tr>
<td width="198" class="style14">Doméstico</td>
<td width="67" class="style14"><input type="radio" ></td>
<td width="182" class="style14">Agrícola</td>
<td width="57" class="style14"><input type="radio" ></td>
<td width="203" class="style14">Minero</td>
<td width="67" align="center" class="style14"><input type="radio" ></td>
</tr>
<tr>
<td class="style14">Energético</td>
<td class="style14"><input type="radio" ></td>
<td class="style14">Ganadería</td>
<td class="style14"><input type="radio" ></td>
<td class="style14">Navegación</td>
<td width="67" align="center" class="style14"><input type="radio" ></td>
</tr>
<tr>
<td class="style14">Manufactura</td>
<td class="style14"><input type="radio" ></td>
<td class="style14">Pesca</td>
<td class="style14"><input type="radio" ></td>
<td class="style14">Turístico</td>
<td width="67" align="center" class="style14"><input type="radio" ></td>
</tr>
</table></td>
</tr>
</table>
Lo que quiero poder ocultar y desocultar la vista de este tabla por medio de DIVs, activandolo por un checkbox.