Jquery ajax Queue
var ajaxQueue = jQuery({}); jQuery.ajaxQueue = function(ajaxOpts) { var oldComplete = ajaxOpts.complete; ajaxQueue.queue(function(next) { ajaxOpts.complete = function() { if (oldComplete) oldComplete.apply(this, arguments); next(); }; jQuery.ajax(ajaxOpts); }); }; $("a.actualizar").each(function(idx) { var…