document.getElementById(ObjectID).className=""
解决方案 »
- 求教大神 Ext 鼠标悬停在某条数据上时,显示一个层,但是层里的数据是根据鼠标悬停的行的一个值到数据库查询的
- EXTJS+Struts2异常处理怎么做
- extjs4 IE8下getEl为空或不是对象?
- 怎样在window.open()返回结果后做操作
- div显示图片高宽问题
- 使iframe 在ie 和 firefox 上的問題
- JS走马灯效果
- 这个代码在IE8上不能执行,在火狐5.0和IE6上能执行,是什么原因, 我该如何改呢?谢谢
- 大家都出来啊 谁用过JsDoc Toolkit这个工具么 ?????????????????
- windows20003 中,在本地机器上双击一个JS脚本,提示“为了有利于保护安全性,已限制此网页运行可以访问计算机的脚本或ActiveX控件”
- 请大家帮帮忙!在此万分感谢!!在线等
- 一个关于正则表达式的问题!求达人帮忙!
<head>
<style>
.Selected
{
background-color:#FF0000;
}
.SelectNo
{
background-color:#FF0000;
}
</style>
<script language="JavaScript">
function Sel(tbl)
{
tbl.className='Selected';
}
</script>
</head>
<body>
<%
Dim i
Dim Max
Max = 23
i = 0
%>
<table border="0" align="center">
<tr><td height="30" colspan="<%=Max/2+1%>"></td></tr><tr>
<%
while(i<Max)
if (i mod 2)=0 then
response.write "<td bgcolor=""#00ff00"" onclick=""Sel(this)""><table align=""center"" bgcolor=""#9B9BFF"" style=""width:20pt;height:80pt;border:outset 2px;border:inset 2px""><tr><td>"
response.write "方格 " & i/2+1
response.write "</td></tr></table></td>"
else
response.write "<td style=""width:15pt"" bgcolor=""#ffFFff"">--></td>"
end if
i=i+1
wend
%>
</tr></table></body>
</html>