jQuery Full Controllable Countdown Timer Plugin - Backward Timer

File Size: 75.2 KB
Views Total: 9119
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
jQuery Full Controllable Countdown Timer Plugin - Backward Timer

Backward Timer is a tiny jQuery plugin for creating a fully controllable countdown timer that runs backwards till it goes 00:00:00 where it will trigger a callback function.


  • 3 methods to start, pause and cancel a timer.
  • Custom time & output format.
  • Allows to handle timer's events of ticking and exhausting.

Basic Usage:

1. Include the jQuery javascript library and jQuery Backward Timer plugin in your document.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="lib/jquery-backward-timer.min.js"></script>

2. Create a container for the countdown timer.

<span id="demo" class="timer">value placeholder</span>

3. Create some buttons to control the countdown timer.

<a href="javascript:void(0)" id='start_control'>Start</a>
<a href="javascript:void(0)" id='cancel_control'>Cancel</a>
<a href="javascript:void(0)" id='reset_control'>Reset</a>

4. Initialize the plugin.

<script type="text/javascript">

$('#start_control').click(function() {
$('#cancel_control').click(function() {
$('#reset_control').click(function() {

5. All the default settings.


// specify timer's timeout value
seconds: 5, 

// timer's step (in seconds)
step: 1,

value_setter: undefined,

// Set output format
format: 'd%d h%:m%:s%', 

// Handle event of exhausting
on_exhausted: function(timer) {}, 

// Handle tick events
on_tick: function(timer) {} 

Change logs:


  • allow timer to count below zero


  • add support for timer step

This awesome jQuery plugin is developed by oblalex. For more Advanced Usages, please check the demo page or visit the official website.