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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:34:05+00:00 2026-05-13T12:34:05+00:00

Can someone help me with this? I hope so… Well, I’m struck for displaying

  • 0

Can someone help me with this? I hope so…
Well, I’m struck for displaying that JSON array in a HTML list :

[{"foo":"30000","bar":"Nimes"},{"foo":"30100","bar":"Ales"},{"foo":"30110","bar":"Branoux Les Taillades"},{"foo":"30110","bar":"La Grand Combe"},{"foo":"30110","bar":"La Levade"},{"foo":"30110","bar":"Lamelouze"},{"foo":"30110","bar":"Laval Pradel"},{"foo":"30110","bar":"Les Salles Du Gardon"},{"foo":"30110","bar":"Soustelle"},{"foo":"30110","bar":"Ste Cecile D Andorge"},{"foo":"30111","bar":"Congenies"},{"foo":"30114","bar":"Boissieres"},{"foo":"30114","bar":"Nages Et Solorgues"},{"foo":"30120","bar":"Arphy"},{"foo":"30120","bar":"Arre"},{"foo":"30120","bar":"Aulas"},{"foo":"30120","bar":"Aveze"},{"foo":"30120","bar":"Bez Et Esparon"},{"foo":"30120","bar":"Breau Et Salagosse"},{"foo":"30120","bar":"Le Vigan"},{"foo":"30120","bar":"Mandagout"},{"foo":"30120","bar":"Mars"},{"foo":"30120","bar":"Molieres Cavaillac"},{"foo":"30120","bar":"Montdardier"},{"foo":"30120","bar":"Pommiers"},{"foo":"30120","bar":"Rogues"},{"foo":"30121","bar":"Mus"},{"foo":"30122","bar":"Les Plantiers"},{"foo":"30124","bar":"L'Estrechure"},{"foo":"30124","bar":"Peyroles"}]

The code to display the result is in rpc.php:

$.post("rpc.php", {queryString: ""+answer{$ia[1]}+""}, function(data){
  console.log(data.foo);
}); //fin $.post

Help, help, help
thanks for reading!

  • 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-13T12:34:05+00:00Added an answer on May 13, 2026 at 12:34 pm
    $.post("rpc.php", {queryString: ""+answer{$ia[1]}+""}, function(data){       
        var result = '';
        $.each(data,
              function() {
                   result += '<li>Foo =' + this.foo + ' Bar =' + this.bar + '</li>';
              });
        $('#idofulyouwanttoshow').html(result);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I hope someone can help with this. I have created a map app that
I hope that someone can help me with this. As you know when an
I hope someone can help me with this, as I'm unable to find the
Hope someone can help me out with this problem I am having. I just
Hope someone can help me and not sure if this should be here or
Hope someone can help i cant seem to get my head around this, i
I hope someone can help with this please. I am trying to query an
I really hope someone can help on this because I'm learning cocoa and have
I'm a beginner in MATLAB and hope someone can help me with this problem.
hope someone can help with this. I currently have an Add to Cart option

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.