A jQuery plugin that sets a div or span to show a countdown to a given time. If you find this plugin useful please vote for it on the jQuery site: (51 votes).
The current version is 1.5.11 and is available under the GPL and MIT licences. For more detail see the documentation reference page. Or see a minimal page that you could use as a basis for your own investigations.