日期:2014-05-17 浏览次数:20772 次
<c:forEach var="list" items="${requestScope.list}">
<td height="114" bordercolor="#FFFFFF"><input name="checkbox"
type="checkbox" value=${list[1].id} class="checkbox"/></td>
<td bordercolor="#FFFFFF"><span class="STYLE4">
<a href="goods.jsp?goodsid=${list[1].id}">${list[1].goodname}</a></span></td>
<td bordercolor="#FFFFFF"><span class="STYLE4">${list[1].price}</span></td>
</c:forEach>
$.ajax({
url: 'xxx.action',
type: 'post',
data: {
parameter: '{"ids" : [{"id":"1"},{"id":"2"},{"id":"3"}]}' },
dataType: 'text',
success: function(data){
}
});