sedang Berlangsung

Export <UL><LI> elements based in a model

Hello

I have a <ul> with some <li> nodes that represent's node and sub-nodes...

What I need is a script to walk into <ul> <li> nodes enumerating exactly the same way like the browser does, but in a text mode based in a model of export...

To understand, take a look in the attached image... the result should be the following...

The result can be assigned to a <textarea> element

"categories": [

{"id": 0001,

"name": "Category Node 1",

"subcategories": [00011,00012,00014,00015,00016],

},

{"id": 00011,

"name": "Category Subnode 1 from Node 1",

"subcategories": [],

},

{"id": 00012,

"name": "Category Subnode 2 from Node 1",

"subcategories": [000121,000122],

},

{"id": 000121,

"name": "Category Subnode 1 from Subnode 2",

"subcategories": [],

},

{"id": 000122,

"name": "Category Subnode 2 from Subnode 2",

"subcategories": [],

},

{"id": 00014,

"name": "Category Subnode 4 from Node 1",

"subcategories": [000141,000142],

},

{"id": 000141,

"name": "Category Subnode 1 from Subnode 4",

"subcategories": [],

},

{"id": 000142,

"name": "Category Subnode 2 from Subnode 4",

"subcategories": [],

},

{"id": 00015,

"name": "Category Subnode 5 from Node 1",

"subcategories": [],

},

{"id": 00016,

"name": "Category Subnode 6 from Node 1",

"subcategories": [000161,000162],

},

{"id": 000161,

"name": "Category Subnode 1 from Subnode 6",

"subcategories": [],

},

{"id": 000162,

"name": "Category Subnode 2 from Subnode 6",

"subcategories": [],

},

{"id": 0002,

"name": "Category Node 2",

"subcategories": [],

},

{"id": 00013,

"name": "Category Node 3",

"subcategories": [],

}

]

Keahlian HTML, Javascript, jQuery / Prototype

Lihat lebih lanjut: quanto custa freelancer para desenvolver um app, kostenlose software um logos zu designen, i am a london based photographer looking for an assistant to help me out with my different projects mainly with my wedding photo, hire freelance to write an export strategy, getting new sales people to understand, freelancer desenvolver software, easy way to understand probability, easy way to understand permutations and combinations, desenvolver software freelancer, c programming easy to understand and practice online, como desenvolver um site em html 5, como desenvolver um aplicativo php para facebook developer, buyer based model in pre preparation production phase in online marketing, indesign export to word, preciso de um programador para desenvolver um software, i need an android app i would like it designed and built quero desenvolver um aplicativo sobre financas que controle gastos e et, i always try to understand your needs and often make my own suggestions before starting the project in order to reduce your tota, home based data entry clerk from us to philippines, easy-to-understand, desenvolver um software, desenvolver um software web grails, desenvolver um aplicativo, desenvolver um aplicativo para iphone, desenvolver software, desenvolver o design de um aplicativo para iphone

Tentang Pemberi kerja:
( 5 ulasan ) Americana, Brazil

ID Proyek: #11720049

Diberikan kepada:

BaNgan

Hi, In short, you are looking for a JSON generator from and UL list. Could you send me the actual html structure of the list? Feel free to contact me via Skype: bangank36, my timezone is GMT+7. My resume website: Lagi

$40 USD dalam 1 hari
(197 Ulasan)
6.7

10 freelancer menawar pada rata-rata $32 untuk pekerjaan ini

edujoseg

Hi. Your project is a piece of cake for me. I'm expert on Javascript. I will do a DOM walk then generate structured data just as required. Eduardo

$30 USD dalam 1 hari
(25 Ulasan)
5.2
rambanstola

Hi, I have made a crawler to extract data from a website . So this task is familiar to me

$66 USD dalam 2 hari
(33 Ulasan)
4.9
shaochao555

Welcome your proposal. I am a MySQL, PHP, Javascript expert. I completed many web projects in the past and I have a lot of experience in them. I have experience more 10 years in web development. Specially, I built Lagi

$30 USD dalam 2 hari
(39 Ulasan)
4.9
$30 USD dalam 1 hari
(14 Ulasan)
4.2
Programmer59

Hello Sir..! I read your description I can complete your project on time and within your budget I am fully confident about your project. I will receive your best wishes. I am waiting your response thanks you so much Lagi

$30 USD dalam 1 hari
(11 Ulasan)
3.9
codelogistic

A proposal has not yet been provided

$45 USD dalam 1 hari
(7 Ulasan)
2.9
mathspy

This is really easy should take me around 1 hour of work (Sorry for my lacking profile I just registered)

$20 USD dalam 0 hari
(0 Ulasan)
0.0
$15 USD dalam 1 hari
(0 Ulasan)
0.0
guidopola

This is my first bid for work here, i will do my best to get the job done as fast as possible, i hope you chose [url removed, login to view] you.

$10 USD dalam 1 hari
(0 Ulasan)
0.0