json array to div/span

I have mysql -> php -> json array.

I want to change the current html to have same div names as array keys, in multi dimension arrays i will use span. For example:

<div id="details">

<div id="viewvideo-title">{$[url removed, login to view]}</div>

<span class="info">Runtime:</span>

<div id="duration"><span class="minutes">{$[url removed, login to view]}m </span> <span class="seconds">{$[url removed, login to view]}s |</span></div>


I need a javascript based on [url removed, login to view] because i already use it, that will take my json and update the divs/spans automatically.

I will provide the HTML and the JSON array.


here is the HTML, the {$variables} need to be changed by the JSON arrays, if needed i will wrap them by spans/div with the same name of the keys in the array.

The json array:

Kemahiran: Javascript

Lihat lagi: json array javascript, json div, html span array, span json, javascript span array, div json, javascript json array, json array, div span array, json divs, json array divs, json array div, span array javascript, array div, div array, json update div, html div array, javascript array span, json array javascript array, array javascript divs, update prototype, prototype update html, prototype update, multi dimension, dimension data

Tentang Majikan:
( 2 ulasan ) Rishon Leziyon, Israel

ID Projek: #386997

Dianugerahkan kepada:


Hi Sir, Can write the JavaScript Code for updating divs based on Protoype.js. Please respond in PMB.

$50 USD dalam sehari
(17 Ulasan)

3 pekerja bebas membida secara purata $37 untuk pekerjaan ini


I can do this work. Thanks, Suresh

$30 USD dalam 0 hari
(123 Ulasan)

I can start right now.

$30 USD dalam 0 hari
(3 Ulasan)