I am trying to get the countdown to work from this example (http://keith-wood.name/countdown.html), and I cant get it working.. What am I doing wrong?
<html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.pack.js"></script> <link rel="stylesheet" type="text/css" href="jquery.countdown.css" /> <script type="text/javascript" src="jquery.countdown.js"></script> <script> var newYear = new Date(2009, 1-1, 1); $('#defaultCountdown').countdown({until: newYear}); $('#removeCountdown').toggle(function() { $(this).text('Re-attach'); $('#defaultCountdown').countdown('destroy'); }, function() { $(this).text('Remove'); $('#defaultCountdown').countdown({until: newYear}); } ); </script> </head> <body> <div id="defaultCountdown"></div> </body> </html> -- View this message in context: http://www.nabble.com/jQuery-Countdown-tp20744495s27240p20744495.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.