<script type="text/javascript">
<!--
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == '')
e.style.display = 'none';
else
e.style.display = '';
}
//-->
</script>
<form method="POST" name = "mainform" action="" class="text">
<table border="1">
<tr>
<td>#1</td>
<td>#2</td>
</tr>
<tr>
<td>
<select name="select_left" multiple="multiple" size="15" style="width:200;" id="select_left_id" onclick="toggle_visibility('sex');">
<option value="passport_serie">Паспорт - Серия</option>
<option value="passport_number">Паспорт - Номер</option>
<option value="whom_issue">Паспорт - Кем выдан</option>
<option value="when_issue">Паспорт - Когда выдан</option>
<option value="sex">Пол</option>
<option value="birthday">Дата рождения</option>
</select>
</td>
<td border="1" style="width:100;" id="sex" style="display: none">
<input type="checkbox" name="sex" value="0">муж<br />
<input type="checkbox" name="sex" value="1">жен<br />
<input type="checkbox" name="sex" value="2" checked>н/д<br />
</td>
</tr>
</table>
<p align="right">
<input type = "submit" name = "generate" value="Отправить" style="font-weight:bold;">
</p>
</form> |