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

  • SEARCH
  • Home
  • 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 7933151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:14:29+00:00 2026-06-03T21:14:29+00:00

I just need a general idea. I’m developing a sports application in django. This

  • 0

I just need a general idea.
I’m developing a sports application in django. This application needs to measure time and display it to the user. During countdown I also need to perform some “action” which might occur. This means call another view according to a type of action, mark this action and redirect back to original view with timer where the user now can see the change.
I suppose I can’t implement countdown on server-side(django). I have to do this with JavaScript, but… the countdown stops everytime user performs an action. Do I have to use AJAX for this? Is’t there a better way to achieve this. Thanks

  • 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-06-03T21:14:30+00:00Added an answer on June 3, 2026 at 9:14 pm

    You would definitely need some javascript to do the countdown timer. Like this one – http://keith-wood.name/countdown.html

    Then any action that happens, you can do a basic ajax call to your django URL(view) to update any values in the db or anything else you need to do with the request.

    When the countdown stops, you can probably record some time-left value into django and then when you need to continue the timer you can again do an ajax call to some view which will return you the time to start the countdown from and you can reconstruct your countdown timer with the time left.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just need get some vals located in application.ini(main ini) in the Controller plugin I
I just need to rename JQgrid column dynamically as per user selection from a
I just need to secure my WF services. Can't find any resources on this.
I was just wondering the general idea how the embedded Google Analytics Javascript works?
Just need a little bit of Javascript to warn people that press the back
I just need to know if WCF is platform independent like Webservices? Can the
I just need to be pointed in the right direction - I can research
I just need some clarification on variables A normal variable has 2 parts to
I just need to know hot to create a CGLayer that has an image
I just need clarification on what a managed prototype is. I think it is

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.