寻求帮助,多谢!
2007-01-18 13:00
316 查看
1 string script="<script language=javascript>";
2 newRow = "newRow = document.getElementById('TAB_VIEW').insertRow();";
3 newCell = "newCell = newRow.insertCell();";
4 color = "newCell.style.backgroundColor=\""+c+"\";";
5 content = "newCell.innerHTML =\""+s.Replace("\r\n","\\r\\n")+"\";";
6 alig = "newCell.style.align=\""+a+"\";";//功能没有实现
7 height = "newCell.style.height=\""+h+"\";";
8 script+=newRow+newCell+content+color+alig+height+"</script>";
9 Page.RegisterStartupScript("key3",script);
10
其中第6行 alig = "newCell.style.align=\""+a+"\";"; 没有实现功能
newCell.style.backgroundColor=
newCell.style.height=
这两句都行,为什么newCell.style.align=这样表示不行?
请高手指点
先对每一个看我问题的表示感谢!
2 newRow = "newRow = document.getElementById('TAB_VIEW').insertRow();";
3 newCell = "newCell = newRow.insertCell();";
4 color = "newCell.style.backgroundColor=\""+c+"\";";
5 content = "newCell.innerHTML =\""+s.Replace("\r\n","\\r\\n")+"\";";
6 alig = "newCell.style.align=\""+a+"\";";//功能没有实现
7 height = "newCell.style.height=\""+h+"\";";
8 script+=newRow+newCell+content+color+alig+height+"</script>";
9 Page.RegisterStartupScript("key3",script);
10
其中第6行 alig = "newCell.style.align=\""+a+"\";"; 没有实现功能
newCell.style.backgroundColor=
newCell.style.height=
这两句都行,为什么newCell.style.align=这样表示不行?
请高手指点
先对每一个看我问题的表示感谢!
相关文章推荐
- 寻求关于FreeImage的使用帮助
- 寻求高手帮助解决sql问题
- 寻求帮助!
- 警察寻求电脑专家帮助,广州铁路盗票案揭晓
- 数据库生成很大的.trc文件,,寻求各位老大帮助
- 因为开发中遇到很多C++的问题,以后会经常来csdn寻求帮助了!
- 寻求帮助——诺基亚N73安装第三方软件出现的问题
- Linux下如何寻求帮助(2013.08.14)
- MySQL创始人发邮件寻求中国帮助!
- 在编程中遇到问题应如何寻求帮助
- 【Scikit-Learn 中文文档】寻求帮助 - 关于科学数据处理的统计学习教程 - scikit-learn 教程 | ApacheCN
- 【Scikit-Learn 中文文档】四十九:寻求帮助 - 关于科学数据处理的统计学习教程 - scikit-learn 教程 | ApacheCN
- 【Scikit-Learn 中文文档】寻求帮助 - 关于科学数据处理的统计学习教程 - scikit-learn 教程 | ApacheCN
- 【Scikit-Learn 中文文档】寻求帮助 - 关于科学数据处理的统计学习教程 - scikit-learn 教程 | ApacheCN
- 寻求帮助,怪问题
- 域用户登陆遇到的问题!寻求帮助
- 寻求帮助
- 第一次使用stackoverflow的寻求帮助
- 寻求帮助
- 今天的计算机课上,老师给同学们出了一道题: 输入n个数,请将其中的偶数的二进制反转。 eg:输入1 6 5 其中6是偶数,二进制表示为110,反转后为011,代表3,所以最终输出1 3 5. 小贱君最近脑子不怎么好使,想了半天也没想出来如何做,最后他向你寻求帮助了,帮帮可怜的小贱君吧!