$(function() {

<c:forEach var="obj" items="${objList}" varStatus="s">

<c:set var="receiveMoneyTotal" value="0" />

<c:forEach var="obj2" items="${objList}" varStatus="s2" begin="0" end="${s.index}">

<c:set var="receiveMoneyTotal" value="${receiveMoneyTotal+obj2.receiveMoney}" />

</c:forEach>

$("#debtMoney_"+${s.index+1}).text(fmoney(${initDebtMoney+totalPrice-receiveMoneyTotal},2));

</c:forEach>

});