jsp onclick事件触发不了
点击列表中的交费 触发事件
<script type="text/javascript">
function costas(id,enroll_person_zjh,enroll_person_name,enroll_person_phone,cost,enroll_status)
{
$("#jf_id").val(id);
$("#jf_enroll_person_zjh").val(enroll_person_zjh);
$("#jf_enroll_person_name").val(enroll_person_name);
$("#jf_enroll_person_phone").val(enroll_person_phone);
$("#jf_cost").val(cost);
$("#status").val('5');
}
</script>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>状态</th>
<th>报名时间</th>
<th>姓名</th>
<th>应交费金额</th>
<th>交费日期</th>
<th>经手人</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<c:forEach var="sports" items="${grid}" varStatus="status">
<tr>
<td style="width: 60px;table-layout: fixed;WORD-BREAK: break-all; WORD-WRAP: break-word;" class="center"><c:out value="${sports.enroll_status_name}"/></td>
<td style="width: 100px;table-layout: fixed;WORD-BREAK: break-all; WORD-WRAP: break-word;" class="center"><c:out value="${sports.submit_time}"/></td>