create select with json

  javascript, jquery, json

how to read and create select option with this json in js.I guess i will have to use loops but i dont really know how to take it.

{ "list": 
  [ { "color": 
      [ { "name": "Turquoise ", "price": "0.00", "path": "" } 
      , { "name": "Black",      "price": "0.00", "path": "" } 
      , { "name": "White",      "price": "0.00", "path": "" } 
      ]
    } 
  ] 
} 

Source: Ask Javascript Questions

LEAVE A COMMENT