$("#loading").ajaxStart(function() {
$(this).show();
}).
ajaxComplete(function() {
$(this).hide();
})
This is my code, it should make the "loading" image visible when ajax
is active but this doesn't seem to work, any ideas what am I doing
wrong?
I've also tried with bind but also didn't work.
Thanks in advance!