Code for a simple time counter using jquery?

Kmandapalli
Posted by Kmandapalli under jQuery category on | Points: 40 | Views : 1051
var elem = $('#' + id + ' #jquery4ucounter');
var count = 0;
myCounter = setInterval(function () {
count += 1;
elem.html(count);
}, 1000);

Comments or Responses

Login to post response