In Progress

Javascript Code: JSON to table (div)

I have a website which should show products and prices that should be called from a JSON file. the JSON file structure looks like that and has about 300 entries:

[{"id":"22","name":"Dock Connector mit Flexkabel weiss","inventory":"3","price":"59"},{"id":"23","name":"Akku","inventory":"-1","price":"49"},{"id":"24","name":"Power \/ Volume Flex","inventory":"12","price":"59"},{"id":"25","name":"Lautsprecher Ear","inventory":"0","price":"49"},{"id":"26","name":"LCD \/ Digitizer Assembly schwarz","inventory":"12","price":"139"}]

What I need is a Javascript code snippet that calls single items from a JSON file (e.g. item with the id "25" and "26") and puts the "name" and the "price" of those items inside a table (within a div tag). I already have a Javascript which calls the whole content of the JSON:

<div id="displayprices"></div><script type="text/javascript">

[url removed, login to view]("[url removed, login to view] [url removed, login to view]",

function(data) {

[url removed, login to view](data, function(key, val) {

var tr=jQuery('<tr></tr>');

[url removed, login to view](val, function(k, v){



[url removed, login to view]('#displayprices');




I need this to be done within 24 hours.

Skills: Java, Javascript, PHP, WordPress

See more: javascript json table, json table, json table javascript, what is.json, website mit wordpress, table data structure, json calls, flex code, div 1 a, data structure code, what is json, what is a javascript, val , table of content, json, json script, json c, g-code, div, digitizer, code snippet wordpress, javascript items, prices table wordpress, javascript volume, table json javascript

About the Employer:
( 30 reviews ) Basel, Switzerland

Project ID: #5409625

Awarded to:


Hi, I have read your project description and I can make that snippet for you. How do you want to get the id from ? are you going to supply it into the function or do you want me to make it that the id grabbed from s More

$25 USD in 0 days
(31 Reviews)

9 freelancers are bidding on average $22 for this job


A proposal has not yet been provided

$25 USD in 1 day
(262 Reviews)

hi, my name is shahid, i am working in web development form past four year. Surely will provide you quality work and we will have long term relationship in web development. Thanks

$25 USD in 1 day
(300 Reviews)

Hello, I am oracle certified professional java programmer and have Bsc.IT. I have helped many similar assignments before, so I can surely help you, thanks

$24 USD in 1 day
(238 Reviews)

Hello sir I am an expert in html, html5, css, php, jQuery, javascript, ajax, mysql and yii framework. Please give me a chance to work with you. Thanking you..

$24 USD in 1 day
(158 Reviews)

Hi, I am a php mysql,wordpress,javascript & css expert. I am ready to work in your project. Pls look at some portfolio I am expert in E-commerce [url removed, login to view] [url removed, login to view]~ More

$15 USD in 1 day
(29 Reviews)

Hi Gone Through the details I can do as specified Let start the work Thanks Keg ........................ ..............

$18 USD in 1 day
(44 Reviews)

I have done many project working with json. Just hire me and take a cup of coffee. It should be done soon :)

$25 USD in 1 day
(0 Reviews)

My current job involves Javascript with JSON, so no w0rries ))) I have a good experience with those stuff.

$20 USD in 1 day
(0 Reviews)