title: Jquery- Show/hide image
body: <p>on clicking the checkbox , an image should be displayed for 5 seconds and then it should hide..</p>
  
  <pre><code>   $(".isActive").click(function() {
  
           var checkBox_id = $(this).attr("id");        // id of checkbox
           var div_id = $(this).closest('tr').find('.display_image').attr("id");
           $("#"+div_id).empty().html('&lt;img src="${resource(dir:'images',file:'spinner.gif')}"/&gt;');
  </code></pre>
  
  <p>Blah.....Blah...</p>
  
  <p>How to make change in code so that image will be displayed only for 5 seconds and then hide the image...</p>