Display JSON array in a list -


Can anyone help me with it? I hope that ... OK, I've been killed to display a JSON array in the HTML list:

  [{"foo": "30000", "bar": "": "30100", "Bar": "Els"}, {"Foo": "30110", "Bar": "Branox Lace Telelage"}, {"foo": "30110" "Bar": "la la lange"}, {"foo": "30110", "bar": "laameloos"}, "foo": " ":" 30110 "," bar ":" laval pedal "}, {" foo ":" 30110 "," bar ":" les sals du garden "}, {" foo ":" 30110 "," bar ": "" Foo ":" "30110", "Bar": "Suu Cecil de Andorrej"}, {"Foo": "30111", "Bar": "Kongge {"Fu": "30114", "Bar": "Boiseir"}, {"Foo": "30114", "Bar": "Never at Solargus"}, {"Foo": "30120" {"Foo": "30120", "bar": "hey"}, {"foo": "30120", "bar": "aulas"}, {"foo"}, "bar" "" 30120 "," Bar ":" Avèze "," "" 30120 "," Bar ":" Bez et Asparan "}, {" Foo ":" 30120 "," Bar ":" Bru at Salagos "} {"Foo": "30120" "": "bar": "le wigan"}, {"foo": "30120", "bar": "mandagout"}, {"foo": "30120" {"Foo": "30120", "bar": "montardier"}, {"foo"}, "foo": "30120", "bar": "molyres cavailac"}, {"foo": {"foo" : "Bar": "bar": "patient"}, {"foo": "30121", "bar": "30120", "bar": "pooemer"}, {"foo": "301" Mush "}, {" "": "30122", "bar": "las planters"}, {"foo": "30124", "bar": "l 'estrecure"}, {"foo": "30124", "bar": "Drinkelow"}]  

code displayed in rpc.php to display the result:

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

help, help, thanks for reading!

  $ Post ("rpc.php", {queryString: "" + answer {$ ia [1]} + ""}, function (data) {var result = ''; $ $ ('# Idofulyouwanttoshow') Each (data, Function () {Results + = '';})). Html (results);});  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -