Destroying countdown within div

Destroying countdown within div

I'm using the Jquery countdown plugin from Keith Wood to show a countdown to a given time

Everything works fine..but I'm stuck on a little piece of coding..

I'm trying to update a <div> with a new countdown, therefor I need to destroy the old countdown within that same <div>.. but that seems to fail.

I'm using the destroy function from keith woods countdown plugin, but the coding I have at the moment shows the new and old countdown blinking through each other..

  1. <script type='text/javascript' src='jquery.countdown.js'></script>
    <script type="text/javascript">
  2. var austDay = new Date();
     austDay = new Date($datum);
     $('#dC1).countdown('destroy');
       
     $('#dC1).countdown({until: austDay, timezone: +60, layout: '<b>{hnn}{sep}{mnn}{sep}{snn}</b> {desc}'});



  3. </script>
  4. <div id="GrandmasterB">
     <div id="dC1"></div>
    </div>

I hope someone can help me out with destroying the old countdown and displaying the new countdown.

Ps. $datum is just a date retrieved from my php mysql script.