Here is my AJAX call:
这是我的AJAX电话:
$.ajax({
url: "https://testsite.com/testurl.php",
data: form,
dataType: 'json',
type: 'post',
success: function(data) {
console.log( 'success', data );
},
error: function() {
console.log( 'error', arguments );
}
});
$.ajax({