表单颜色的设置问题,在线等!!
<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不变?
<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不变?
...全文
相关推荐
html5 css3在线留言表单美化代码
html5 css3在线留言表单美化代码
formbuilder表单构建工具_在线表单设计器代码
formbuilder表单构建工具_在线表单设计器代码formbuilder表单构建工具_在线表单设计器代码
VFP表单按钮设置代码
“显示文本”按钮CLICK事件的程序代码: thisform.label1.visible = .t. thisform.command1.visible = .f. thisform.command2.visible = .t.
基于vue+element的在线拖拽生成表单页面,支持属性设置实时响应
基于vue+element的在线拖拽生成表单页面,支持属性设置实时响应
matlab画图中线型及颜色设置-matlab画图中线型及颜色设置.doc
matlab画图中线型及颜色设置-matlab画图中线型及颜色设置.doc matlab 画图中线型及颜色设置


