1// THE JSON ARRAY.
2var birds = [
3 {"ID": "001", "Bird_Name": "Eurasian Collared-Dove"},
4 {"ID": "002", "Bird_Name": "Bald Eagle"},
5 {"ID": "003", "Bird_Name": "Cooper's Hawk"},
6];
7
8var dropDown = document.getElementById('dropdown-id');
9for (var i = 0; i < birds.length; i++) {
10 // POPULATE SELECT ELEMENT WITH JSON.
11 ele.innerHTML += '<option value="' + birds[i]['ID'] + '">' + birds[i]['Bird_Name'] + '</option>';
12}