üũ¹Ú½º¸¦ ¼±ÅÃÇϸé ÇØ´ç Å×ÀÌºí¼¿(TR) »ö»óÀ» º¯°æÇÕ´Ï´Ù. |
|
|
|
16³â Àü
|
<html>
<head>
<title>http://www.xtx.kr</title>
<script>
function check(it) {
tr = it.parentNode.parentNode;
tr.style.backgroundColor = (it.checked) ? "gold" : "white";
}
</script>
</head>
<body>
<form onsubmit="return false">
<table class="test" border=1 width=400>
<tr><td width=20><input type="checkbox" onclick="check(this)"></td><td>blub-B</td><td>blub-B</td></tr>
<tr><td><input type="checkbox" onclick="check(this)"></td><td>blub-B</td><td>blub-B</td></tr>
<tr><td><input type="checkbox" onclick="check(this)"></td><td>blub-B</td><td>blub-B</td></tr>
<tr><td><input type="checkbox" onclick="check(this)"></td><td>blub-B</td><td>blub-B</td></tr>
</table>
</form>
</body>
</html> |
|
̵̧ : 322 |
̵̧
¸ñ·Ï
|
|