I would like to create a counter in which I can set a starting number and that every second increases by one. I need the counter to be integrated into a page of my website. I have no idea how to create it. Thank you everyone
1条回答 默认 最新
dongzhouhao4316 2018-04-21 12:06关注This is a javascript question.
var i=0; setInterval(function(){ i++; //add_code to update html text to i ,1000);解决 无用评论 打赏 举报