例如,我将NAME存储在我的数据库中,结果是[object Object]
var data= {};
.ajax({
type: 'POST',
data: JSON.stringify(data),
contentType: 'application/json',
url: 'http://localhost:3000/legone/survey/surveyform/form45/post',
success: function(data) {
$('#NAME').val(data.NAME);
}
});