<script>
function openlook(hnum){ document.getElementById(hnum).innerText="已看过";
}
</script>
<table id="jllist">
<tr>
<td id="id1" onclick="openlook(this.id)">dddddddd</td>;
<td>sss</td>
</tr>
<tr>
<td id="id2" onclick="openlook(this.id)">eeeee</td>;
<td>sss</td>
</tr>.
</table>
function openlook(hnum){ document.getElementById(hnum).innerText="已看过";
}
</script>
<table id="jllist">
<tr>
<td id="id1" onclick="openlook(this.id)">dddddddd</td>;
<td>sss</td>
</tr>
<tr>
<td id="id2" onclick="openlook(this.id)">eeeee</td>;
<td>sss</td>
</tr>.
</table>
解决方案 »
- flex可以嵌入一个外部的swf 然后可以在外部控制swf的播放么?
- 怎样将文本框的内容显示在页面表格上啊?,急(跪求!)
- JavaScript怎么不能使用以下语句呀。
- 谁能帮我解释一下下面jquerty代码的作用
- 还有我在用js写入cooke时,如果同名的属性,是添加在cookie的后面还是修改cookie中相应的属性值?
- jquery chrome浏览器下怎么获取图片的宽度跟高度?
- 在一个域下访问另一域出现拒绝访问之后!!!
- 怎么放个图标到标题栏
- 如何改掉地址栏头的图标
- 请问这种jquery《图片轮播》的插件去哪里下载啊?
- 在iframe中用javascript怎么取得父窗体的链接地址???---急,在线等
- ActiveX控件问题。
你创建记录集列表时给每个td加上一个id号注意这里:
<td id="id2" onclick="openlook(this.id)">eeeee</td>;