私はjquery各関数を持っています。その中に関数を呼び出しています。この関数は前の要素に対してこの関数が完了している場合にのみ呼び出されます。アヤックスを使用してそれを行うにはjquery内の関数をそれぞれ呼び出す
function x(t){
var a = something;
$.each(a, function(index,value){
y(this);
});
}
function y(t){
$.ajax({
}).done(function(r){
if(r.success){
}
else{
}
});
// This function should be called for the second element
// in the each function only if its completed for the first element.
}
そして、なぜそれが完全ではないでしょうか?それは非同期ですか? – adeneo