0
function myfunction() {
...
$(myarray).each(function() {
...
$.ajax({
...,
async: false,
error: function() {
// I want to return false and quit from this function here
// no luck with return false, still continuing to the next loop
}
});
};
}
謝謝,將被標記爲9分鐘的答案。 – 2011-04-06 06:02:12