Skip to main content
3 of 3
added 18 characters in body; deleted 22 characters in body
keios
  • 460
  • 4
  • 10

You can just iterate over your json array with the following code

$('<option/>').attr("value","someValue").text("Option1").appendTo("#my-select-id");

keios
  • 460
  • 4
  • 10