Hi I am developing a web application in grails which uses lot of ajax.I need to show a spinner.gif image while processing the ajax request.My sample gsp code is
<div id="ajax-area">
<g:remoteLink action="list" controller="file" update="ajax-area">
view files
</g:remoteLink>
</div>
In the above code if we click on the view files link it will update the ajax-area div.
Could some one show me how to update the ajax-area with spinner.gif on loading ajax.
Thanks