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 8697817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:36:38+00:00 2026-06-13T01:36:38+00:00

I have a repeating div for an auction site. I’d like to make it

  • 0

I have a repeating div for an auction site. I’d like to make it so when someone joins the auction it auto updates on the repeating div. I’m using ajax for all auto update divs on the site.

The site is http://www.Dreamybids.com

On the home page you see each auction in it’s own pinterest style box. You’ll see “Seats: x | Seats Taken:0”

The Open is what needs to be updated each time someone takes a seat in the auction.

Here’s my current code for the div. How do I add an ajax call to update that specific auction id every x amount of seconds.

<? if($totalRows_moline>0)
{ ?> 
<?php do { ?>

<div class="box-shortcode box-gray" style="padding-left:15px; padding-right:15px; text-align:center; font-size:10px; padding-top:0px; padding-bottom:0px; margin-top:-1px; margin-bottom:-1px" id="seats">Seats: <?php echo $seats ?> | Seats Taken: <? if($seats>1){?><?php echo $spots ?><? }?><? if($seats<=1){?>N/A<? }?></div> <?php }} while ($row_moline = mysql_fetch_assoc($moline)); ?> 
  • 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-13T01:36:39+00:00Added an answer on June 13, 2026 at 1:36 am

    You need set interval for the pause:

    setInterval()  
    

    and for updating the auction id, if your doing it client-side, then use

    getElementById()
    

    Both can be found here:

    http://w3schools.com

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

Sidebar

Related Questions

I need to make a div have a certain height, it has a repeating
I have this code, which I would like to make as small as possible.
I have a div container which has a repeating background image that forms a
I have a problem with a few div boxes displaying an overflowing/repeating image only
I have a Page with repeating anchors <div id =div1> <a class='button id='edit1'>Edit</> <a
DIV's (longer than page length) background stops repeating I have HTML webpage with a
I have a repeating timer that runs down a clock. During the clock running
I have a list which has repeating items and I want a list of
I have a code that sets a new repeating alarm (on production I'll use
I have an xml document with three child elements repeating in any order. I

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.