谁能帮我写那两个button的响应函数? 就是全选和全不选的两个button,点全选会把下面两行的背景变灰,而点全不选则变白 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body bgcolor="#FFFFFF" text="#000000"><script laguage="Javascript">function Sel(){for(i=1;i<colorTable.rows.length;i++) colorTable.rows[i].bgColor="#FFFFFF";}function noSel(){for(i=1;i<colorTable.rows.length;i++) colorTable.rows[i].bgColor="#E4E4E4";}</script><table width="96%" align="right" class="IPNET_TABLE" border="1" id="colorTable"> <tr bgcolor="ccdffd"> <td width="30%"> <div align="right">电路名称 <input type="button" value="全选" class="boutton_text_s" onClick="noSel()"> <input type="button" value="全不选" class="boutton_text_s" onClick="Sel()"> </div> </td><td width="35%"> <div align="center">源接口IP地址</div> </td> <td width="35%"> <div align="center">目的接口IP地址</div> </td> </tr><tr onClick="tdBg()" style="CURSOR: hand"> <td>杭州骨干-温州骨干POS电路</td> <td>211.91.42.2</td> <td>POS4/0</td> </tr> <tbody> <tr onClick="tdBg()" style="CURSOR: hand"> <td>杭州骨干-温州骨干POS电路</td> <td>211.91.42.2</td> <td>POS4/0</td> </tr></tbody> </table></body></html> jsp页面获取数据后怎样生成HTML静态页面? tomcat资源耗尽 构建一个中小型bs结构系统 我想请问一下现在的论坛和sns网站是如何获得用户在线这个状态的 別人提供的URL接口、該如何進行登録且取到返回結果。 textarea怎么才能限定输入的字符个数? 一个超简单的jsp问题——小弟初学,谢谢!! JavaBean的添加为什么不正确高手请进!!!!急!!急!!急!!急!!急!!急!!急!!急!! javabean与数据库同步问题? 那里有下载jdk? 如何使生成的文件用系统时间来命名???(急) 帮帮帮帮帮个忙!!!!!!!!!!!!!!!
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#FFFFFF" text="#000000">
<script laguage="Javascript">function Sel(){
for(i=1;i<colorTable.rows.length;i++)
colorTable.rows[i].bgColor="#FFFFFF";
}
function noSel(){
for(i=1;i<colorTable.rows.length;i++)
colorTable.rows[i].bgColor="#E4E4E4";
}
</script>
<table width="96%" align="right" class="IPNET_TABLE" border="1" id="colorTable">
<tr bgcolor="ccdffd">
<td width="30%">
<div align="right">电路名称
<input type="button" value="全选" class="boutton_text_s" onClick="noSel()">
<input type="button" value="全不选" class="boutton_text_s" onClick="Sel()">
</div>
</td>
<td width="35%">
<div align="center">源接口IP地址</div>
</td>
<td width="35%">
<div align="center">目的接口IP地址</div>
</td>
</tr>
<tr onClick="tdBg()" style="CURSOR: hand">
<td>杭州骨干-温州骨干POS电路</td>
<td>211.91.42.2</td>
<td>POS4/0</td>
</tr>
<tbody>
<tr onClick="tdBg()" style="CURSOR: hand">
<td>杭州骨干-温州骨干POS电路</td>
<td>211.91.42.2</td>
<td>POS4/0</td>
</tr>
</tbody>
</table>
</body>
</html>