$(function(){ var s=59; function run(){ $("p").html(s); s=s-1; } setInterval(run,1000); });
<p>59</p>