2
以下のコードでは、elseブロックからエラー関数を呼び出すことはできますか?
$.getJSON('something.php', function(data) {
if (data.error === undefined) {
} else {
// How can I call the error function below?
}
}).error(function() {
// This is the error function the be called.
});
母はあなたが速く私よりも秒でした。私は同じことを書いていました。 – Miro