我有以下代码
Ext.Ajax.request({
url: 'newRecord.php',
method: 'POST',
type: 'json',
params: {
"author" : list.Author,
"title" : list.Title,
"manufacturer" : list.Manufacturer,
"product_group" : list.ProductGroup
},
success: function(response) {
alert(response.author);
},
failure: function() {
alert('Failure');
}
});
警报返回 undefined 但是我的 php 返回 {"author":"The author here"}
这里有什么错误?