摘要: (function($){ $.oneAjax = function(settings){ if ($.oneAjax[settings.guid] === "isProcessing") { return false; } $.oneAjax[settings.guid] = "isProcessing"; return $.ajax(settings).complete(function() { delete $.oneAjax[settings.guid]; }); };})(jQuery);调用方式和ajax一模一样只是加了一个guid参数而已$ 阅读全文
posted @ 2013-10-08 18:44 chenkychen 阅读(187) 评论(0) 推荐(0) 编辑