Skip to content

Instantly share code, notes, and snippets.

@pedrocss
pedrocss / timer.js
Created January 4, 2012 21:57
Timer Javascript
window.onload = function () {
var timeout;
var MIN;
var SEC;
document.getElementById("startTimer").onclick=function(){startTimer()}
function startTimer(){
MIN = document.getElementById("min").value;
SEC = document.getElementById("sec").value;