<logic:iterate id="empList" name="search" property="empList" indexId="index">
<tr>
<td>
<bean:write name="empList" property="empID"/>
</td>
<td>
<bean:write name="empList" property="firstName"/>
</td>
<td>
<bean:write name="empList" property="lastName"/>
</td>
<td>
<html:button property="View" value="View" onclick="viewPage()"/>
<html:button property="Update" value="Update" onclick="updateUser()"/>
<html:button property="Delete" value="Delete" onclick="deleteUser()"/>
</td>
</tr>
</logic:iterate>
我想用empID 调用javascript。任何人都可以帮助我获得正确的代码语法。