-1

I'm trying to create a food menu using javascript. I'm using the

`(
    {"Category": "Drinks", "item": "Coke", "Price": "20"},
    {"Category": "Snacks", "item": "French Fries", "Price": "20"},
  {"Category": "Drinks", "item": "Limca", "Price": "19"},
  {"Category": "Snacks", "item": "Manchurian", "Price": "19"}
); `

I need this to be in a repeater. Like:

Drinks:
Coke 20
Limca 19
Snacks:
French Fries 20
Manchurian 19

So, I'm looking to parse the array of objects to assign it to the repeater.

0 Answers0