Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Seconds Ticker using JavaScript
WhatsApp
Kaushik S
Sep 16
2015
1.1
k
0
0
<!DOCTYPE html>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head runat=
"server"
>
<title></title>
</head>
<body>
<div id=
"status"
></div>
<script type=
"text/javascript"
>
var st = document.getElementById(
'status'
);
function timer(secs)
{
st.innerHTML =
"Please wait "
+ secs;
if
(secs < 1)
{
clearTimeout(timer);
return
;
}
secs--;
var t= setTimeout(
'timer('
+secs+
')'
, 1000);
}
timer(10 );
</script>
</body>
</html>
Seconds Ticker
Javascript
Up Next
Seconds Ticker using JavaScript