【转】jQuery.ajax向后台传递数组问题

$.ajax({
url: "/xxx",
type: "GET",
data: {
"boxIds": boxIds,
"boxType": 0,
"time": new Date().getTime()
},
traditional: true,//这里设置为true
success: function(data) {
//do sth...
}
});

 

原文:jQuery.ajax向后台传递数组问题

posted @ 2017-01-18 14:05  风过无痕521  阅读(758)  评论(0编辑  收藏  举报