含有字符串键的数组 怎样 post
带有字符串键的数组怎样 post[解决办法]数组的key只能是数字,用下面那样吧var postdata {arry[]:JSON.
带有字符串键的数组 怎样 post
[解决办法]数组的key只能是数字,
用下面那样吧
var postdata = {'arry[]':JSON.stringify(data), 'mail' :email};
$.post('up.php', postdata)
IE不支持JSON.stringify,LZ可以引入json2.js