Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 402305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:06:47+00:00 2026-05-12T17:06:47+00:00

I’m not asking for someone to code this for me, I just want a

  • 0

I’m not asking for someone to code this for me, I just want a bit of advice and guidance.

Basically, I started learning jQuery last week and for my first project I want to make a countdown table.
e.g.

=====================
Time|Desc
---------------------
1.03|Item 1
---------------------
0.50|Item 2
=====================

Once the user starts the countdown the first item should be retrieved and used as a countdown, ie 1.03,1.02,1.01,1,0.59 in seconds (and should be updated live). Once that reaches zero, the row should be removed and the next item should be started as a countdown.

If anyone has had any experience building this or a countdown similar to this I would appreciate it. I’ve seen a few plugins but it seems overkill for my needs. All times will be less than an hour.

A few things; I’m struggling to understand is how I could initialize the second countdown as obviously the first row will take a few seconds to animate or remove.

Any feedback, links, reading is appreciated I’m currently learning using a video course and will be finished in the next few days, but this is something outside of the class that I’m interested in.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:06:47+00:00Added an answer on May 12, 2026 at 5:06 pm

    Preview and
    Source

    var position = 0;
    var countdowns = $(".time");
    
    var interval = setInterval( function()
    {
      if (countdowns [position].innerHTML == 0)
      {
        $(countdowns [position]).parent().hide();
        position ++;
      }
      if (position >= countdowns.length)
      {
        clearInterval(interval);
      }
      else
      {
        countdowns[position].innerHTML --;
      }
    
    },1000);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have just tried to save a simple *.rtf file with some websites and
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
I want use html5's new tag to play a wav file (currently only supported
For some reason, after submitting a string like this Jack’s Spindle from a text
I want to count how many characters a certain string has in PHP, but
I'm looking for suggestions for debugging... If you view this site in Firefox or
I have some data like this: 1 2 3 4 5 9 2 6
I am currently running into a problem where an element is coming back from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.