我想用数组值向另一个页面发送 ajax 响应,我也不想在 URL 中显示数组值。我该怎么办,对不起,我的英语。
$.ajax({
type: "POST",
url: "test.php",
data: {dispatch:'products.validate',pro: id,}
}).done(function( msg ) {
//alert(msg);
window.open('test.php?dispatch=products.url');
});