체크박스
[List][Prev][Next]
연동하는 체크박스 체크하기 [ Preview ]

<html>
<head>
<title>test</title>

<SCRIPT LANGUAGE="JavaScript">
function set_sub(){
if (document.testform.button1.checked) {
document.testform.button11.checked = true;
document.testform.button12.checked = true;
}else{
document.testform.button11.checked = false ;
document.testform.button12.checked = false ;
}
}
</SCRIPT>
</head>

<body>
<FORM NAME="testform">
<h3>click checkbox</h3>
<INPUT TYPE="checkbox" NAME="button1" VALUE="" onClick=" return set_sub();"> Main : 메인 체크박스를 체크하면 부메뉴(sub)도 함께 체크됩니다.<br>
  <INPUT TYPE="checkbox" NAME="button11" VALUE="" > Sub 1<br>
  <INPUT TYPE="checkbox" NAME="button12" VALUE="" > Sub 2<br>
</FORM>

</body>
</html>


<%//# DataBinder.Eval(Container.DataItem, "album_title") %>
<%//# DataBinder.Eval(Container.DataItem, "contenttype") + " views" %>
link list for hairwigbeautyshop.com ::
Javascript Source List :