i’m trying to add the current seconds to my div innerHTML but i really can’t
and this is my code :
i tryed to get any way to do it but i failed
var d = new Date();
var getHours = d.getHours();
var getMinuts = d.getMinutes();
var getScounds = d.getSeconds();
var getMInner = $(".minutes").InnerText;
var getSInner = $(".scounds").InnerText;
var getHInner =$(".hours").InnerText;
window.on("load", function(){
var oo = for(i = getScounds ; i < 60 ; i++){
$(".hours").innerHTML = pad(i % 60);
}
})