I have an object as below. I have to display this as a drop-down:
var list = [{id:4,name:\"abc\"},{id:600,name:\"def\"},{id:200,name:\"xyz\"}]
I could help you out with the html:
abc
instead of
to set abc as the default value.