81,092
社区成员
发帖
与我相关
我的任务
分享
<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<title>findUserInfo.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet" href="${pageContext.request.contextPath }/user/css/globle.css" type="text/css"></link>
<style type="text/css">
.A_padding{padding:4px;}
</style>
<SCRIPT type="text/javascript">
function getEle(){
var ele=document.getElementById("userId");
alert(ele.value);
}
</head>
<table>
<tbody>
<s:if test="#request.num!=0">
<s:iterator id="list" value="#request.list" >
<tr>
<td style="width:100px">
用户账号:
</td>
<td>
<input id="userId" type="hidden" name="userId" value="<s:property value="#list.user_id"/>" />
</tr>
<tr>
<td>
<input type="sumbit" value="tijiao" onclick="getEle();" />
</td>
</tr>
</tbody>
</table>
</body>
</html>