<script>
function aa(){
document.form1.check.value=checked;
}
</script>
function aa(){
document.form1.check.value=checked;
}
</script>
解决方案 »
- hibernate 二级缓存 查询列表问题!!高手in!!!
- ext treepanel加载Json的问题
- 一个看似简单算法
- 大量数据时tomcat该如何优化!!
- 求救:Illegal attempt to associate a collection with two open sessions
- 什么情况会出现The requested resource is not available...
- 请问如何在页面上动态生成统计图表,像柱状,圆形之类的?
- 关于session的问题?
- 小弟我想学JSP,请各位学过的人推荐本好书
- spring boot2.0 打包出现问题
- 请问是否有用数据库动态实现WEB形式的树状菜单的例子!十万火急!!
- 关于日期问题
if (window.event.srcElement.tagName == "INPUT"){
return;
}
if(form.boxcheck[intIndex].checked == true)
form.boxcheck[intIndex].checked=false;
else
form.boxcheck[intIndex].checked=true;
}结果
怎么点一下td?
你可以在td后边加一个隐含对象,这样在鼠标移动到这里时可以让光标发生变化,将隐含对象的onClick事件进行处理。
<script>
function aa(){
document.form1.check.checked=true;
}
</script>
<tr>
<td width="3%">
<input type="checkbox" name="check" value="<%=rs.getInt("stdt_id")%>">
</td>
<td onclick="aa(<%=i%>)">
<center><%=rs.getString("stdt_name")%></center>
</td>
</tr>
<%
i++;
}
%>
<script>
function aa(x){
document.form1.check[x].checked=true;
}
</script>