title: jQuery countdown to jquery event
body: <p>I am using jQuery to refresh a DIV content box every 5 seconds or so, the time is actually controllable by the end user.
  I want to have a countdown timer on the page which will count down until the next page refresh (or query) based on the value that is set.</p>
  
  <p>For now, it can be a static value of 5 seconds but I really can't work out how to get a countdown running along side my query.</p>
  
  <p>Any help is greatly appreciated.</p>