var chapter = new Array();
chapter[0] = ["Alpha","one","two","Option 1","three","four"];
chapter[1] = ["Alpha","one","two","Option 2","three","four"];
chapter[2] = ["Beta","one","two","Option 3","three","four"];
chapter[3] = ["Beta","one","two","Option 4","three","four"];
chapter[4] = ["Gamma","one","two","Option 5","three","four"];
chapter[5] = ["Gamma","one","two","Option 6","three","four"];
chapter[6] = ["Delta","one","two","Option 7","three","four"];
chapter[7] = ["Delta","one","two","Option 8","three","four"];
chapter[8] = ["Epsilon","one","two","Option 9","three","four"];
chapter[9] = ["Epsilon","one","two","Option 10","three","four"];
document.getElementById("sell").addEventListener("change", addActivityItem, false);
function addActivityItem(){
var sel= document.getElementById("sel");
sel.innerHTML = '';
var brr=[];
var temp= document.getElementById("sell").value;
chapter.forEach(function(a){
if(a[0]==temp)
brr.push(a[3]);
}) ;
brr.forEach(function(b){
var newOption = document.createElement('option');
sel.appendChild(newOption);
newOption.text=b;
});
}
<select id="sell">
<option value="">Choose one</option>
<option value="Alpha">Alpha</option>
<option value="Beta">Beta</option>
<option value="Gamma">Gamma</option>
<option value="Delta">Delta</option>
<option value="Epsilon">Epsilon</option>
</select>
<select id="sel">
</select>