Hours Minutes Seconds Timer With Pause Stop

Oct 25, 2017

  

Configuration:-


<div id="countdowntimer"><span id="hms_timer"></span></div>
<button id="pauseBtnhms"></button>
<button id="stopBtnhms"></button>

<script type="text/javascript">
	$(function() {
		$("#hms_timer").countdowntimer({
			hours : 03,
			minutes : 10,
			seconds : 10,
			size : "lg",
			pauseButton : "pauseBtnhms",
			stopButton : "stopBtnhms"
		});
	});
	
	function() {
		//Use below method calls with your conditions to pause, stop timer.
		$("#hms_timer").countdowntimer("pause","pause");
		$("#hms_timer").countdowntimer("pause","resume");
		$("#hms_timer").countdowntimer("stop","stop");
		$("#hms_timer").countdowntimer("stop","start");
	}	
</script>