1
我使用使用教程中here隐藏微调只对特定的ajax
有3个功能运行一个AJAX调用微调 我想隐藏它只是一个特定函数运行Ajax调用,如何做到这一点?
目前我添加了Ajax调用微调代码是这样的:
$(document).ready(function(){
$("#spinner").bind("ajaxSend", function() {
$(this).show();
}).bind("ajaxStop", function() {
$(this).hide();
}).bind("ajaxError", function() {
$(this).hide();
});
});
它究竟是什么在我上面挂的教程中所示。 现在我如何才能使它仅适用于3个Ajax调用函数?
ps:我应该解除绑定并每次绑定吗?