関数がundefinedを返しましたが、探しているデータを見つける方法がわかりません。
function getCustomerName(){
var account = localStorage.getItem("account");
$.post("http://127.0.0.1/getCustomer.php", {account:account}, function(data) {
alert('Inside getCustomer' + ' ' + data);
} ,"json");
}
getCustomer.phpが返す間
{"nameCustomer":[{"Alarms":"0","Name":"Jane Doe"}]}
どんな助けでもいただければ幸いです。