jQuery Countdown timer
jQuery Countdown timer
Hi,
I'm trying to use the countdown timer from this tutorial on my website. I got it to work, but I can't get it going on multiple clocks with unique end dates. This is what I've tried and it only works on the last selector.
- <script>
$(document).ready(function(){
$('#countdown').countdown({
date: "20 July 2013 12:00:00",
format: "on"
}),
$('#countdown2').countdown({
date: "21 July 2013 12:00:00",
format: "on"
})
});
</script>
I know there must be some method I'm not aware of for running them simultaneously. Can anyone help me get these clocks going at the same time with different dates? I don't want to use another plugin because they don't allow me the same control over the html/css. Thanks,
Brendan