<logic:iterate id="search" name="MS3080Form" property="searchList" >
<tr >
<!-- <td align="center"><input type="checkbox" name="b" value="<bean:write name="search" property="userId"/>"/> </td>-->
<td width="61" align="center"><html:hidden name="search" property="userId"/>
<!--onclick ="tong('<html:hidden name="search" property="userId"/>','<bean:write name="search" property="realName"/>','<bean:write name="search" property="pHone"/>' )" -->
<bean:write name="search" property="realName"/></td>
<td width="115" align="center"><bean:write name="search" property="pHone"/></td>
</tr>
</logic:iterate>页面显示 USERID USERNAME PHONE
1 赵1 150.....
2 赵2 158.....
3 赵3 158.....
. . .
. . .
. . .?????? 点击一条数据 分别添加到下面3个TEXT框里 , 用js 大侠帮忙啊!!!!页面有3个text框如下:<html:text name="MSForm" property="USERID "/>
<html:text name="MSForm" property="USERNAME "/>
<html:text name="MSForm" property="PHONE "/>这3个text框和上面从数据库取出的数据是一个页面
<tr >
<!-- <td align="center"><input type="checkbox" name="b" value="<bean:write name="search" property="userId"/>"/> </td>-->
<td width="61" align="center"><html:hidden name="search" property="userId"/>
<!--onclick ="tong('<html:hidden name="search" property="userId"/>','<bean:write name="search" property="realName"/>','<bean:write name="search" property="pHone"/>' )" -->
<bean:write name="search" property="realName"/></td>
<td width="115" align="center"><bean:write name="search" property="pHone"/></td>
</tr>
</logic:iterate>页面显示 USERID USERNAME PHONE
1 赵1 150.....
2 赵2 158.....
3 赵3 158.....
. . .
. . .
. . .?????? 点击一条数据 分别添加到下面3个TEXT框里 , 用js 大侠帮忙啊!!!!页面有3个text框如下:<html:text name="MSForm" property="USERID "/>
<html:text name="MSForm" property="USERNAME "/>
<html:text name="MSForm" property="PHONE "/>这3个text框和上面从数据库取出的数据是一个页面
解决方案 »
- response.getWriter()的作用
- J2EE架构师手册
- 编辑器的最大化和最小化
- 头疼呀!谁能看看是什么问题呀!感谢啦!!!!
- Hibernate的map集合
- 那位高人可以告诉我,Javabean自行关闭时,是否关闭作为成员变量的数据库连接?
- cmp中插入数据时的问题{jbuilder+jboss}
- jboss-3.2.1_tomcat-4.1.24我做设置但是好象还是有问题
- 我用的是jdk1.40,他的API的说明文档放哪了?
- SQL/GROUP/LEFT/统计
- struts2 json返回异常,请高手指点
- 请教高人,用excel导入数据 ,导入100条成功 ,导入1000条 不成功
function tong(userId,realName,pHone) {
form.USERID.value = userId;
form.USERNAME.value = realName;
form.PHONE.value = pHone;
}