Countdown timer in rails
In my application, I have a deadline in this format : 2011-08-26 16:45:00 UTC. In my controller, I am cal开发者_StackOverflow中文版culating the difference between this date and the current one. The result looks like this : 64:18:13. I want to create a timer which counts from 64:18:13 until 00:00:00. How can I do it ? Thanks.
See the jQuery Countdown plugin and also this SO question if you face any issues
精彩评论