use js:objbtn.onclick="func()";and when it is 00:00:00func();