I have a hidden spinner div.

When my jquery function is called -- I show the spinner.  But, how do
hide I the spinner div after the ajax request has completed?


$(function() {
    $(".pagination a").live("click", function() {
        var loader = $('#loader')
        loader.show()   // <-- hidden loader div
        $.get(this.href, null, null, "script");
        return false;
    })
});

Reply via email to