When an AJAX request is made, a background image of an element is set and after the request is completed this background image is removed.
Change class name on click in jQuery