87,997
社区成员




$.ajax({
method: "post",
url: url,
async: false,
time: myDate.getTime(),
beforeSend: function (xmlhttp) {
xmlhttp.setRequestHeader('Content-Type', 'application/x-wwww-form-urlencoded;charset=UTF-8');
if (head != null) {
for (value in head) {
var v=head[value];
xmlhttp.setRequestHeader(value, v);
}
}
},
error: function (XHR, textStatus, errorThrown) {
result = "XHR=" + XHR + "\ntextStatus=" + textStatus + "\nerrorThrown=" + errorThrown;
},
success: function (data, textStatus) {
result = data;
}
});