newRow=iDiv.insertRow();
newCell=newRow.insertCell();
alert(newRow.style.backgroundColor);
newCell=newRow.insertCell();
alert(newRow.style.backgroundColor);
解决方案 »
- [求助]javascript里面的互斥问题
- 我现在有一个新鲜问题,试了很长时间,不知道该怎样处理
- javascript调用数组的问题
- 怎么就循环了一次,请教高手!!!!!
- 招聘熟悉HTML,DHTML,JavaScript等客户端脚本的人才!
- parentNode和parentElement怎么是一样的?
- 求推荐!!!通过JS实现File上传预览功能
- 怎么帮助文档都是jscript,有没有javascript的学习文档,给我一份,谢谢!
- window.print()中 print()有参数来设定页眉、页脚么
- 急!!!!!!!在线等待!!!!!!!!!!11
- 一个困惑了我很久的问题。
- 请赐教!一个判断日期时间函数
<table id=t></table>
<SCRIPT LANGUAGE="JavaScript">
<!--
newRow=t.insertRow();
newRow.insertCell().innerText="abcd"
newRow.insertCell().innerText="1234"
alert(t.currentStyle.backgroundColor)
t.bgColor="red"
alert(t.currentStyle.backgroundColor)
t.style.backgroundColor="blue";
alert(t.currentStyle.backgroundColor)
t.runtimeStyle.backgroundColor="yellow";
alert(t.currentStyle.backgroundColor)
t.runtimeStyle.backgroundColor="";
alert(t.currentStyle.backgroundColor)
//-->
</SCRIPT>
</BODY>