 |
|
|  |
| 라디오버튼 클릭하면 체크박스와 글 모두 안보이게할려면 |
|
|
 |
17년 전 |
<script>
function chk() {
if(document.all.ok[0].checked==true)
Div.style.display = "block";
else
Div.style.display = "none";
}
</script>
<table>
<tr>
<td>
<input type="radio" name="ok" onclick="chk()">선택
<input type="radio" name="ok" onclick="chk()">해당업음
</td>
<td>
<div id="Div" style="display:none">
<input type="checkbox" name="ok_chk">운동
<input type="checkbox" name="ok_chk">낚시
<input type="checkbox" name="ok_chk">음악
</div>
</td>
</tr>
</table>
| |
|
추천 : 489 |
추천
목록
|
|
|  |
|