表单颜色的设置问题,在线等!!
<html>
<HEAD>
<script>
function SetColor()
{
document.all.abc.bgcolor="red";
alert(document.all.abc.bgcolor);
}
</script>
</HEAD>
<table>
<tr id=abc>
<td>
<INPUT type='radio' name=radio1 value=6 onclick='SetColor()'>
</td>
</tr>
</table>
</html>
为什么tr的bgcolor不变?