所以我在php中做
$.ajax({
url: 'parser.php',
type: 'POST',
data: 'Data=' + $.toJSON(schedule),
success: function (res) {
alert(res);
}
});
即将到来的对象
stdClass object {
weeks => array (1) (
[0] => stdClass object {
0 => stdClass object {}
1 => stdClass object {}
2 => stdClass object {}
3 => stdClass object {}
4 => stdClass object {}
5 => stdClass object {}
6 => stdClass object {}
alltime => (int) 60
}
)
alltime => (int) 60
hours => (int) 60
}
如何将 ajax 请求传递给 sharepoint 2010?
然后在服务器上进行解析。谢谢你。