Sedang Disiapkan

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>

</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.

urgent!

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:
http://www2.jugy.com/new/videobox.php?video_id=44

Kemahiran: Javascript

Lihat lebih lanjut: 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:

lokeshverma2

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

$50 USD dalam sehari
(17 Ulasan)
4.3

3 pekerja bebas membida secara purata $37 untuk pekerjaan ini

sureshdevi

I can do this work. Thanks, Suresh

$30 USD dalam 0 hari
(123 Ulasan)
5.9
Anub1s

I can start right now.

$30 USD dalam 0 hari
(3 Ulasan)
2.3