0

I'm trying to create a multi-level unordered list with jQuery.

In reality i'm sticking this into the jQuery autocomplete plugin, but i've dumbed down a jsFiddle keep it simple with hardcoded data and without the plugin.

First the hardcoded output (what i want to see), then the dynamic output (with the code im trying).

You can see what i've tried, but i'm not having too much luck so far. :)

Can anyone help me out? Or has anyone done this before?

4

1 回答 1

0

尝试使用 categoryID: jsFiddle

希望这可以帮助...

于 2012-08-09T06:19:49.487 回答