$.ajax({
url: './home/sumbit_json',
type: 'POST',
beforeSend: function(){
time = new Date();
},
data: {
json_data: json_data,
user: user,
entry: entry
},
dataType: 'json',
success: function(data) {
if (data.status == false) {
alert("transaction failed");
} else {
alert("transaction successful");
alert(new Date() - time);
}
},
error: function(xhr, status, errorThrown) {
console.log("Error: " + errorThrown);
console.log("Status: " + status);
console.dir(xhr);
},
});
, , . , , , , . , , .
, , Chrome. .
, :
1. X.
2.
3.
4.
5. 1-4 -/
6. , , , /
7. , 6.
8. , .
.
!