function rankStatusChange(index){
form = document.forms[0];
if(form.rs[index].checked==true){
form.rankStatus[index].value = form.rankId[index].value;
}else{
form.rankStatus[index].value = null;
}
return;
}<td align="center" nowrap="nowrap" class="${class}"><input type="checkbox" name="rs" value='${bean.rankStatus}' onchange="rankStatusChange('${id}');" /></td>
这里firefox好用,ie不行高手看看哪里出错了
form = document.forms[0];
if(form.rs[index].checked==true){
form.rankStatus[index].value = form.rankId[index].value;
}else{
form.rankStatus[index].value = null;
}
return;
}<td align="center" nowrap="nowrap" class="${class}"><input type="checkbox" name="rs" value='${bean.rankStatus}' onchange="rankStatusChange('${id}');" /></td>
这里firefox好用,ie不行高手看看哪里出错了
解决方案 »
- Spring如果对用户提交的数据进行验证和转换
- JMS监听消息问题,用线程池开200线程监听消息,却只有5个线程有反应,why?
- 请教关于SVN还原源文件问题
- 关于DataSource的问题?
- XML解析问题
- 在myeclipse中用struts tomcat 出现这个信息: Internal Error: File /WEB-INF/web.xml not found?
- 一个关于servlet配置的问题
- 通过thin驱动方式连接oracle后使用hibernate来插入clob类型的字段的值出错
- 关于eclipse开发ejb弱中弱的问题...很急.....
- 关于schema验证xml的问题
- 求SHH的项目?
- 大虾们,谁想看工作机会啊
form.rs[index].checked==true