I have used the display tag library to display my first returned results in JSP file. For further processing purpose, I need the selected checkbox values and manipulate them in the Javascript. However, I couldn't get them by using getElementsByName() function. Hope someone here can kindly give me some suggestions to proceed. Thanks a lot!
Following are my display table code in JSP file:
<display:table name="${List}" id="row" class="displaytable">
<display:column title="Equipment" class="fieldAlignCenter">
<c:forEach var="deviceRow" items="${row.getDeviceList()}">
<input type="checkbox" name="equipNo" value="${deviceRow.equipNo}">
<c:out value="${deviceRow.equipNo}" />
</c:forEach>
</display:column>
</display:table>