jQuery Timer

jQuery Timer

I am new to jQuery so I am struggling with my attempt at a timer countdown. This is the goal: I have 10 names being pulled from a database in a .NET MVC application. The first name in the list will have a countdown. When the countdown reaches 0, it needs to remove the name, restart the timer, and slide the second name up into the place where the previous name was. My countdown is working but when it reaches 0 it stops and nothing else happens. Can anyone give me some ideas of how to do this?

Thsi is what I currently have:

  1. <script language="javascript" type="text/javascript">
  2.         // Set the Countdown
  3.       
  4.        

  5.          jQuery(document).ready(function() {
  6.             
  7.              $('#countdown_dashboard').countDown({
  8.                 
  9.                  targetOffset: {                        
  10.                      'day':      0,           
  11.                      'month':    0,            
  12.                      'year':     0,            
  13.                      'hour':     0,            
  14.                      'min':      0,            
  15.                      'sec':      5                       
  16.                  },
  17.                  
  18.              })
  19.             
  20.              Reset();
  21.          });

  22.      // onComplete function
  23.      function Reset() {
  24.          $('#countdown_dashboard').stopCountDown();
  25.          $('#countdown_dashboard').setCountDown({
  26.              targetOffset: {
  27.                  'day': 0,
  28.                  'month': 0,
  29.                  'year': 0,
  30.                  'hour': 0,
  31.                  'min': 00,
  32.                  'sec': 5
  33.              }
  34.          });
  35.          $('#countdown_dashboard').startCountDown();       
  36.       
  37.      };
  38.         
  39.     </script>