var chk_value = [];
$('input[name="select"]:checked').each(function () {
chk_value.push($(this).val());
});
$.ajax({
url: "insertTagidToPid.do",
traditional: true,
data: {
tagids:chk_value
},
async: false,
success: function (json) {
}
});
ajax 传递数组的关键 traditional: true,
ajax 传递数组的关键
最新推荐文章于 2022-08-13 15:53:06 发布