<c:forEach var="trans" items="${in}">
<tr>
<td><input type="checkbox" name="CheckBox" id="CheckBox" value="${tran}" onClick="selectCheckBox()"></td>
<td><fmt:formatDate value="${trs.date}" type="date" pattern="dd/MM/yyyy" /></td>
<td>
<c:out value="${tran.ref}"/></td>
<td><c:out value="${trans.am}" /></td>
<td><c:out value="${trans.amountOut}" /></td>
</tr>
function selectCheckBox() {
}
}
how will i get to print "${tran.ref} value in the select checkbox?? i m not gettting this/? the problem is am already printing the value of tran in the selectCheckBox(), and i need both the values in the selectCheckBox() method. Anyways i m getting to print the value of "${tran}" how to get the ${tran.ref}"??