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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:56:24+00:00 2026-06-09T18:56:24+00:00

I facing a strange issue… I am creating tables dynamically using the data from

  • 0

I facing a strange issue… I am creating tables dynamically using the data from ajax call.. The code works in Firefox / but fails for Chrome…

HTML Structure I Intend to create :

<title>Offers MADE<title>    
 <Table>
   proposed offer table
 </table>

<title>Offers Received<title>    
  <Table>
   Received offer table
 </table>

But instead this is the outcome I get on Chrome / it works on Firefox though ..

<title>Offers MADE<title>       

<title>Offers Received<title>  

  <Table>
   proposed offer table
 </table>

  <Table>
   Received offer table
 </table>

I believe it has to do something with the ajax call response timing;
Cause if I place a break-points it always works out..

To make sure the ajax call sequencing is correct I am making the second AJAX call in success() function of first AJAX call.

 $.ajax{
    ::
    url : get_Proposed_Offers.php
    ::

    success : function(data)
      {
          //I make sure that the Proposed Offer Table gets populated
          //I populate the "div" tag with required HTML
          populate_Proposed_OfferTable();


          //Here's where I make another ajax call to populate 
          get_Received_OfferData();
      }

 }

 function get_Received_OfferData()
 {
    $.ajax{
    ::
    url : get_Received_Offers.php
    ::

    success : function(data)
      {
          populate_Received_OfferTable();              
      }

    }

 }

Can anyone please point out what is it I am doing wrong here?

I know that instead of using same tag if I start populating the “proposed” and “received” offers in different tags this should resolve my issue. But I want to know why this approach wouldn’t work.

  • 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-09T18:56:26+00:00Added an answer on June 9, 2026 at 6:56 pm

    why do you need two ajax calls? i will make one ajax call and have my php send data of the two array in JSON

     $.ajax({
    
       url:'populate_tables.php',
       dataType :'JSON',
       success: function(data){
    
       $.map(data.proposed.records,function(proposed_row,i){
          populate_proposed_table here
       }
       $.map(data.recieved.records,function(received_row,i){
          populate_received_table here
       }
      }
    })
    

    with this you can even add other functionalities and effects to your work

    UPDATE:You can pass as many parameters as you want into one call.

    $.ajax({
     ........
     data:{param1:value1,param2:value2....},
    })
    

    and php will see data as array so

    <?php
       $param1 = $_REQUEST['param1'];//not sure if you are using post or get
       $param2 = $_REQUEST['param2']...
    

    run your queries from here

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

Sidebar

Related Questions

I'm facing a rather strange Issue when trying to load data from an XML-Webservice.
I'm facing a strange issue using the Criteria API. I want to dynamically add
I am facing strange issue. I have wep-part that reads data from user's profile.
I am facing a strange issue. My code runs just fine from Netbeans or
Invalid JSON issue with asp.net jquery ajax call Hi, I am facing a strange
I am facing strange issue i am getting string from database and comparing with
I am facing strange issue with our WCF service. The same code was working
Im facing a strange issue trying to move from sql server to oracle. in
I'm facing very strange issue, I'm getting JSON object from django powered site and
I am facing strange issue. when closing complete safari browser, I need to call

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.