I have an Array. The elements of this array is actually string paths to items:
- Category1/subCategory1/item1
- Category1/subCategory1/item2
- Category1/subCategory1/item3
- Category1/item4
- Category2/item5
- Category2/item6
- Category3/subCategory3/item7
- Category3/subCategory3/item8
- item9
- item10
I want to use jQuery to convert this to a TreeView menu. I did it with servercode both in PHP & ASP.NET C#, but just couldn't figure out how to achieve the same just using jQuery without any backend code involved.
Can someone here point me in right direction...
Thanks.