求助……各位大佬,怎么通过onclick把${u}传递给si()函数(js直接引用${u}不了,它是${p.object }的迭代参数 )
```javascript
<c:forEach items="${p.object }" var="u">
<tr>
<td><p>${u.id }</p></td>
<td><p>${u.name }</p></td>
<td><p>${u.phonenumber }</p></td>
<td><p>${u.address }</p></td>
<td><p>
<c:if test="${u.politicaloutlook==2}">共青团员</c:if>
<c:if test="${u.politicaloutlook==1}">党员</c:if>
<c:if test="${u.politicaloutlook==0}">群众</c:if>
</p></td>
<td><p>${u.militia }</p></td>
<td>
<button onclick="si('${u}')">传参</button>
<%-- <a class="btn btn-info" href="/admin/user_reset.jsp?id=${u.id }&username=${u.name }&email=${u.phonenumber }">重置密码</a>--%>
<a class="btn btn-primary" href="/admin/user_editshow?id=${u.id }">修改</a>
<a class="btn btn-danger" href="${pageContext.request.contextPath }/admin/user_delete?id=${u.id }">删除</a>
</td>
</tr>
</c:forEach>
<script>
function si(u){
alert(u.id)
}
</script>
```